diff --git a/Directory.Packages.props b/Directory.Packages.props
index 2e1b01456..27783a77c 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -3,51 +3,52 @@
true
-
-
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
-
-
-
-
-
+
+
+
+
+
-
+
-
+
-
-
+
+
+
-
-
-
+
+
+
-
-
+
+
-
+
\ No newline at end of file
diff --git a/README.md b/README.md
index f92d95e61..c8eb91626 100644
--- a/README.md
+++ b/README.md
@@ -154,6 +154,7 @@ ${GEN_DIR}/openapi/csharp.sh ${REPO_DIR}/src/KubernetesClient ${REPO_DIR}/csharp
| SDK Version | Kubernetes Version | .NET Targeting |
|-------------|--------------------|-----------------------------------------------------|
+| 18.0 | 1.34 | net8.0;net9.0;net48*;netstandard2.0* |
| 17.0 | 1.33 | net8.0;net9.0;net48*;netstandard2.0* |
| 16.0 | 1.32 | net8.0;net9.0;net48*;netstandard2.0* |
| 15.0 | 1.31 | net6.0;net8.0;net48*;netstandard2.0* |
diff --git a/csharp.settings b/csharp.settings
index 1cc92da6d..0110958c8 100644
--- a/csharp.settings
+++ b/csharp.settings
@@ -1,3 +1,3 @@
-export KUBERNETES_BRANCH=v1.33.0
+export KUBERNETES_BRANCH=v1.34.0
export CLIENT_VERSION=0.0.1
export PACKAGE_NAME=k8s
diff --git a/examples/clientset/Program.cs b/examples/clientset/Program.cs
index 9c2cac461..98b937202 100644
--- a/examples/clientset/Program.cs
+++ b/examples/clientset/Program.cs
@@ -19,7 +19,7 @@ private static async Task Main(string[] args)
System.Console.WriteLine(item.Metadata.Name);
}
- var pod = await clientSet.CoreV1.Pod.GetAsync("test","default").ConfigureAwait(false);
+ var pod = await clientSet.CoreV1.Pod.GetAsync("test", "default").ConfigureAwait(false);
System.Console.WriteLine(pod?.Metadata?.Name);
}
}
diff --git a/src/KubernetesClient/IKubernetes.cs b/src/KubernetesClient/IKubernetes.cs
index c3f871d64..5fa42e955 100644
--- a/src/KubernetesClient/IKubernetes.cs
+++ b/src/KubernetesClient/IKubernetes.cs
@@ -1,6 +1,6 @@
namespace k8s;
-public partial interface IKubernetes : IBasicKubernetes, IDisposable
+public partial interface IKubernetes : IDisposable
{
///
/// The base URI of the service.
diff --git a/src/LibKubernetesGenerator/ApiGenerator.cs b/src/LibKubernetesGenerator/ApiGenerator.cs
index 63fd9667e..37f135db5 100644
--- a/src/LibKubernetesGenerator/ApiGenerator.cs
+++ b/src/LibKubernetesGenerator/ApiGenerator.cs
@@ -71,7 +71,7 @@ public void Generate(OpenApiDocument swagger, IncrementalGeneratorPostInitializa
sc = scriptObjectFactory.CreateScriptObject();
sc.SetValue("groups", groups, true);
- context.RenderToContext($"IBasicKubernetes.cs.template", sc, $"IBasicKubernetes.g.cs");
+ context.RenderToContext($"IKubernetes.cs.template", sc, $"IKubernetes.g.cs");
context.RenderToContext($"AbstractKubernetes.cs.template", sc, $"AbstractKubernetes.g.cs");
}
}
diff --git a/src/LibKubernetesGenerator/GeneratorExecutionContextExt.cs b/src/LibKubernetesGenerator/GeneratorExecutionContextExt.cs
index de5975cc9..6c3653721 100644
--- a/src/LibKubernetesGenerator/GeneratorExecutionContextExt.cs
+++ b/src/LibKubernetesGenerator/GeneratorExecutionContextExt.cs
@@ -1,5 +1,6 @@
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;
+using Microsoft.CodeAnalysis.CSharp;
using Scriban;
using Scriban.Runtime;
using System.Text;
@@ -19,7 +20,10 @@ public static void RenderToContext(this IncrementalGeneratorPostInitializationCo
{
var template = Template.Parse(EmbedResource.GetResource(templatefile));
var generated = template.Render(tc);
- context.AddSource(generatedfile, SourceText.From(generated, Encoding.UTF8));
+
+ var syntaxTree = CSharpSyntaxTree.ParseText(generated);
+ var normalized = syntaxTree.GetRoot().NormalizeWhitespace().ToFullString();
+ context.AddSource(generatedfile, SourceText.From(normalized, Encoding.UTF8));
}
}
}
diff --git a/src/LibKubernetesGenerator/LibKubernetesGenerator.target b/src/LibKubernetesGenerator/LibKubernetesGenerator.target
index 916c1dd19..80a9cd252 100644
--- a/src/LibKubernetesGenerator/LibKubernetesGenerator.target
+++ b/src/LibKubernetesGenerator/LibKubernetesGenerator.target
@@ -13,6 +13,7 @@
+
diff --git a/src/LibKubernetesGenerator/PluralHelper.cs b/src/LibKubernetesGenerator/PluralHelper.cs
index b2f697375..81091f88c 100644
--- a/src/LibKubernetesGenerator/PluralHelper.cs
+++ b/src/LibKubernetesGenerator/PluralHelper.cs
@@ -11,11 +11,12 @@ internal class PluralHelper : IScriptObjectHelper
{
private readonly Dictionary _classNameToPluralMap;
private readonly ClassNameHelper classNameHelper;
- private readonly HashSet opblackList = new HashSet()
- {
+ private readonly HashSet opblackList =
+ [
"listClusterCustomObject",
"listNamespacedCustomObject",
- };
+ "listCustomObjectForAllNamespaces",
+ ];
public PluralHelper(ClassNameHelper classNameHelper, OpenApiDocument swagger)
{
diff --git a/src/LibKubernetesGenerator/templates/IBasicKubernetes.cs.template b/src/LibKubernetesGenerator/templates/IKubernetes.cs.template
similarity index 86%
rename from src/LibKubernetesGenerator/templates/IBasicKubernetes.cs.template
rename to src/LibKubernetesGenerator/templates/IKubernetes.cs.template
index 99a284fcf..68e92500d 100644
--- a/src/LibKubernetesGenerator/templates/IBasicKubernetes.cs.template
+++ b/src/LibKubernetesGenerator/templates/IKubernetes.cs.template
@@ -8,7 +8,7 @@ namespace k8s;
///
///
-public partial interface IBasicKubernetes
+public partial interface IKubernetes
{
{{for group in groups}}
I{{group}}Operations {{group}} { get; }
diff --git a/swagger.json b/swagger.json
index 7bb0ceeee..2cc381669 100644
--- a/swagger.json
+++ b/swagger.json
@@ -1263,40 +1263,24 @@
],
"type": "object"
},
- "v1beta1.AuditAnnotation": {
- "description": "AuditAnnotation describes how to produce an audit annotation for an API request.",
+ "v1beta1.ApplyConfiguration": {
+ "description": "ApplyConfiguration defines the desired configuration values of an object.",
"properties": {
- "key": {
- "description": "key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.\n\nThe key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\".\n\nIf an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.\n\nRequired.",
- "type": "string"
- },
- "valueExpression": {
- "description": "valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.\n\nIf multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.\n\nRequired.",
+ "expression": {
+ "description": "expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec\n\nApply configurations are declared in CEL using object initialization. For example, this CEL expression returns an apply configuration to set a single field:\n\n\tObject{\n\t spec: Object.spec{\n\t serviceAccountName: \"example\"\n\t }\n\t}\n\nApply configurations may not modify atomic structs, maps or arrays due to the risk of accidental deletion of values not included in the apply configuration.\n\nCEL expressions have access to the object types needed to create apply configurations:\n\n- 'Object' - CEL type of the resource object. - 'Object.' - CEL type of object field (such as 'Object.spec') - 'Object.....` - CEL type of nested field (such as 'Object.spec.containers')\n\nCEL expressions have access to the contents of the API request, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Required.",
"type": "string"
}
},
- "required": [
- "key",
- "valueExpression"
- ],
"type": "object"
},
- "v1beta1.ExpressionWarning": {
- "description": "ExpressionWarning is a warning information that targets a specific expression.",
+ "v1beta1.JSONPatch": {
+ "description": "JSONPatch defines a JSON Patch.",
"properties": {
- "fieldRef": {
- "description": "The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\"",
- "type": "string"
- },
- "warning": {
- "description": "The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.",
+ "expression": {
+ "description": "expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec\n\nexpression must return an array of JSONPatch values.\n\nFor example, this CEL expression returns a JSON patch to conditionally modify a value:\n\n\t [\n\t JSONPatch{op: \"test\", path: \"/spec/example\", value: \"Red\"},\n\t JSONPatch{op: \"replace\", path: \"/spec/example\", value: \"Green\"}\n\t ]\n\nTo define an object for the patch value, use Object types. For example:\n\n\t [\n\t JSONPatch{\n\t op: \"add\",\n\t path: \"/spec/selector\",\n\t value: Object.spec.selector{matchLabels: {\"environment\": \"test\"}}\n\t }\n\t ]\n\nTo use strings containing '/' and '~' as JSONPatch path keys, use \"jsonpatch.escapeKey\". For example:\n\n\t [\n\t JSONPatch{\n\t op: \"add\",\n\t path: \"/metadata/labels/\" + jsonpatch.escapeKey(\"example.com/environment\"),\n\t value: \"test\"\n\t },\n\t ]\n\nCEL expressions have access to the types needed to create JSON patches and objects:\n\n- 'JSONPatch' - CEL type of JSON Patch operations. JSONPatch has the fields 'op', 'from', 'path' and 'value'.\n See [JSON patch](https://jsonpatch.com/) for more details. The 'value' field may be set to any of: string,\n integer, array, map or object. If set, the 'path' and 'from' fields must be set to a\n [JSON pointer](https://datatracker.ietf.org/doc/html/rfc6901/) string, where the 'jsonpatch.escapeKey()' CEL\n function may be used to escape path keys containing '/' and '~'.\n- 'Object' - CEL type of the resource object. - 'Object.' - CEL type of object field (such as 'Object.spec') - 'Object.....` - CEL type of nested field (such as 'Object.spec.containers')\n\nCEL expressions have access to the contents of the API request, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nCEL expressions have access to [Kubernetes CEL function libraries](https://kubernetes.io/docs/reference/using-api/cel/#cel-options-language-features-and-libraries) as well as:\n\n- 'jsonpatch.escapeKey' - Performs JSONPatch key escaping. '~' and '/' are escaped as '~0' and `~1' respectively).\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Required.",
"type": "string"
}
},
- "required": [
- "fieldRef",
- "warning"
- ],
"type": "object"
},
"v1beta1.MatchCondition": {
@@ -1352,111 +1336,8 @@
"type": "object",
"x-kubernetes-map-type": "atomic"
},
- "v1beta1.NamedRuleWithOperations": {
- "description": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.",
- "properties": {
- "apiGroups": {
- "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.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "apiVersions": {
- "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.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "operations": {
- "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.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "resourceNames": {
- "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "resources": {
- "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "scope": {
- "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": "string"
- }
- },
- "type": "object",
- "x-kubernetes-map-type": "atomic"
- },
- "v1beta1.ParamKind": {
- "description": "ParamKind is a tuple of Group Kind and Version.",
- "properties": {
- "apiVersion": {
- "description": "APIVersion is the API group version the resources belong to. In format of \"group/version\". Required.",
- "type": "string"
- },
- "kind": {
- "description": "Kind is the API kind the resources belong to. Required.",
- "type": "string"
- }
- },
- "type": "object",
- "x-kubernetes-map-type": "atomic"
- },
- "v1beta1.ParamRef": {
- "description": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.",
- "properties": {
- "name": {
- "description": "name is the name of the resource being referenced.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.\n\nA single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped.",
- "type": "string"
- },
- "namespace": {
- "description": "namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.\n\nA per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.\n\n- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.\n\n- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.",
- "type": "string"
- },
- "parameterNotFoundAction": {
- "description": "`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.\n\nAllowed values are `Allow` or `Deny`\n\nRequired",
- "type": "string"
- },
- "selector": {
- "$ref": "#/definitions/v1.LabelSelector",
- "description": "selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.\n\nIf multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset."
- }
- },
- "type": "object",
- "x-kubernetes-map-type": "atomic"
- },
- "v1beta1.TypeChecking": {
- "description": "TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy",
- "properties": {
- "expressionWarnings": {
- "description": "The type checking warnings for each expression.",
- "items": {
- "$ref": "#/definitions/v1beta1.ExpressionWarning"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- }
- },
- "type": "object"
- },
- "v1beta1.ValidatingAdmissionPolicy": {
- "description": "ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.",
+ "v1beta1.MutatingAdmissionPolicy": {
+ "description": "MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -1471,25 +1352,21 @@
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"spec": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicySpec",
- "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy."
- },
- "status": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyStatus",
- "description": "The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only."
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicySpec",
+ "description": "Specification of the desired behavior of the MutatingAdmissionPolicy."
}
},
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "kind": "MutatingAdmissionPolicy",
"version": "v1beta1"
}
]
},
- "v1beta1.ValidatingAdmissionPolicyBinding": {
- "description": "ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.\n\nThe CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.",
+ "v1beta1.MutatingAdmissionPolicyBinding": {
+ "description": "MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources. MutatingAdmissionPolicyBinding and the optional parameter resource together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding. Each evaluation is constrained by a [runtime cost budget](https://kubernetes.io/docs/reference/using-api/cel/#runtime-cost-budget).\n\nAdding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -1504,21 +1381,21 @@
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"spec": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBindingSpec",
- "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding."
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBindingSpec",
+ "description": "Specification of the desired behavior of the MutatingAdmissionPolicyBinding."
}
},
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
+ "kind": "MutatingAdmissionPolicyBinding",
"version": "v1beta1"
}
]
},
- "v1beta1.ValidatingAdmissionPolicyBindingList": {
- "description": "ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.",
+ "v1beta1.MutatingAdmissionPolicyBindingList": {
+ "description": "MutatingAdmissionPolicyBindingList is a list of MutatingAdmissionPolicyBinding.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -1527,7 +1404,7 @@
"items": {
"description": "List of PolicyBinding.",
"items": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
},
"type": "array"
},
@@ -1547,39 +1424,31 @@
"x-kubernetes-group-version-kind": [
{
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBindingList",
+ "kind": "MutatingAdmissionPolicyBindingList",
"version": "v1beta1"
}
]
},
- "v1beta1.ValidatingAdmissionPolicyBindingSpec": {
- "description": "ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.",
+ "v1beta1.MutatingAdmissionPolicyBindingSpec": {
+ "description": "MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.",
"properties": {
"matchResources": {
"$ref": "#/definitions/v1beta1.MatchResources",
- "description": "MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required."
+ "description": "matchResources limits what resources match this binding and may be mutated by it. Note that if matchResources matches a resource, the resource must also match a policy's matchConstraints and matchConditions before the resource may be mutated. When matchResources is unset, it does not constrain resource matching, and only the policy's matchConstraints and matchConditions must match for the resource to be mutated. Additionally, matchResources.resourceRules are optional and do not constraint matching when unset. Note that this is differs from MutatingAdmissionPolicy matchConstraints, where resourceRules are required. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT."
},
"paramRef": {
"$ref": "#/definitions/v1beta1.ParamRef",
- "description": "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param."
+ "description": "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in spec.ParamKind of the bound MutatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the MutatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param."
},
"policyName": {
- "description": "PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.",
+ "description": "policyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.",
"type": "string"
- },
- "validationActions": {
- "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\\\"message\\\": \\\"Invalid value\\\", {\\\"policy\\\": \\\"policy.example.com\\\", {\\\"binding\\\": \\\"policybinding.example.com\\\", {\\\"expressionIndex\\\": \\\"1\\\", {\\\"validationActions\\\": [\\\"Audit\\\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "set"
}
},
"type": "object"
},
- "v1beta1.ValidatingAdmissionPolicyList": {
- "description": "ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.",
+ "v1beta1.MutatingAdmissionPolicyList": {
+ "description": "MutatingAdmissionPolicyList is a list of MutatingAdmissionPolicy.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -1588,7 +1457,7 @@
"items": {
"description": "List of ValidatingAdmissionPolicy.",
"items": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
},
"type": "array"
},
@@ -1608,28 +1477,20 @@
"x-kubernetes-group-version-kind": [
{
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyList",
+ "kind": "MutatingAdmissionPolicyList",
"version": "v1beta1"
}
]
},
- "v1beta1.ValidatingAdmissionPolicySpec": {
- "description": "ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.",
+ "v1beta1.MutatingAdmissionPolicySpec": {
+ "description": "MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.",
"properties": {
- "auditAnnotations": {
- "description": "auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.",
- "items": {
- "$ref": "#/definitions/v1beta1.AuditAnnotation"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
"failurePolicy": {
- "description": "failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.\n\nA policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.\n\nfailurePolicy does not define how validations that evaluate to false are handled.\n\nWhen failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.\n\nAllowed values are Ignore or Fail. Defaults to Fail.",
+ "description": "failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.\n\nA policy is invalid if paramKind refers to a non-existent Kind. A binding is invalid if paramRef.name refers to a non-existent resource.\n\nfailurePolicy does not define how validations that evaluate to false are handled.\n\nAllowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
- "description": "MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nIf a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the policy is skipped",
+ "description": "matchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the matchConstraints. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nIf a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the policy is skipped",
"items": {
"$ref": "#/definitions/v1beta1.MatchCondition"
},
@@ -1643,86 +1504,144 @@
},
"matchConstraints": {
"$ref": "#/definitions/v1beta1.MatchResources",
- "description": "MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required."
- },
- "paramKind": {
- "$ref": "#/definitions/v1beta1.ParamKind",
- "description": "ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null."
+ "description": "matchConstraints specifies what resources this policy is designed to validate. The MutatingAdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API MutatingAdmissionPolicy cannot match MutatingAdmissionPolicy and MutatingAdmissionPolicyBinding. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT. Required."
},
- "validations": {
- "description": "Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required.",
+ "mutations": {
+ "description": "mutations contain operations to perform on matching objects. mutations may not be empty; a minimum of one mutation is required. mutations are evaluated in order, and are reinvoked according to the reinvocationPolicy. The mutations of a policy are invoked for each binding of this policy and reinvocation of mutations occurs on a per binding basis.",
"items": {
- "$ref": "#/definitions/v1beta1.Validation"
+ "$ref": "#/definitions/v1beta1.Mutation"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
+ "paramKind": {
+ "$ref": "#/definitions/v1beta1.ParamKind",
+ "description": "paramKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If paramKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in MutatingAdmissionPolicyBinding, the params variable will be null."
+ },
+ "reinvocationPolicy": {
+ "description": "reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: These mutations will not be called more than once per binding in a single admission evaluation.\n\nIfNeeded: These mutations may be invoked more than once per binding for a single admission request and there is no guarantee of order with respect to other admission plugins, admission webhooks, bindings of this policy and admission policies. Mutations are only reinvoked when mutations change the object after this mutation is invoked. Required.",
+ "type": "string"
+ },
"variables": {
- "description": "Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.\n\nThe expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic.",
+ "description": "variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except matchConditions because matchConditions are evaluated before the rest of the policy.\n\nThe expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, variables must be sorted by the order of first appearance and acyclic.",
"items": {
"$ref": "#/definitions/v1beta1.Variable"
},
"type": "array",
- "x-kubernetes-list-map-keys": [
- "name"
- ],
- "x-kubernetes-list-type": "map",
- "x-kubernetes-patch-merge-key": "name",
- "x-kubernetes-patch-strategy": "merge"
+ "x-kubernetes-list-type": "atomic"
}
},
"type": "object"
},
- "v1beta1.ValidatingAdmissionPolicyStatus": {
- "description": "ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.",
+ "v1beta1.Mutation": {
+ "description": "Mutation specifies the CEL expression which is used to apply the Mutation.",
"properties": {
- "conditions": {
- "description": "The conditions represent the latest available observations of a policy's current state.",
+ "applyConfiguration": {
+ "$ref": "#/definitions/v1beta1.ApplyConfiguration",
+ "description": "applyConfiguration defines the desired configuration values of an object. The configuration is applied to the admission object using [structured merge diff](https://github.com/kubernetes-sigs/structured-merge-diff). A CEL expression is used to create apply configuration."
+ },
+ "jsonPatch": {
+ "$ref": "#/definitions/v1beta1.JSONPatch",
+ "description": "jsonPatch defines a [JSON patch](https://jsonpatch.com/) operation to perform a mutation to the object. A CEL expression is used to create the JSON patch."
+ },
+ "patchType": {
+ "description": "patchType indicates the patch strategy used. Allowed values are \"ApplyConfiguration\" and \"JSONPatch\". Required.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "patchType"
+ ],
+ "type": "object"
+ },
+ "v1beta1.NamedRuleWithOperations": {
+ "description": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.",
+ "properties": {
+ "apiGroups": {
+ "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.",
"items": {
- "$ref": "#/definitions/v1.Condition"
+ "type": "string"
},
"type": "array",
- "x-kubernetes-list-map-keys": [
- "type"
- ],
- "x-kubernetes-list-type": "map"
+ "x-kubernetes-list-type": "atomic"
},
- "observedGeneration": {
- "description": "The generation observed by the controller.",
- "format": "int64",
- "type": "integer"
+ "apiVersions": {
+ "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.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "typeChecking": {
- "$ref": "#/definitions/v1beta1.TypeChecking",
- "description": "The results of type checking for each expression. Presence of this field indicates the completion of the type checking."
+ "operations": {
+ "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.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "resourceNames": {
+ "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "resources": {
+ "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "scope": {
+ "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": "string"
}
},
- "type": "object"
+ "type": "object",
+ "x-kubernetes-map-type": "atomic"
},
- "v1beta1.Validation": {
- "description": "Validation specifies the CEL expression which is used to apply the validation.",
+ "v1beta1.ParamKind": {
+ "description": "ParamKind is a tuple of Group Kind and Version.",
"properties": {
- "expression": {
- "description": "Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:\n\t \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\",\n\t \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\".\nExamples:\n - Expression accessing a property named \"namespace\": {\"Expression\": \"object.__namespace__ > 0\"}\n - Expression accessing a property named \"x-prop\": {\"Expression\": \"object.x__dash__prop > 0\"}\n - Expression accessing a property named \"redact__d\": {\"Expression\": \"object.redact__underscores__d > 0\"}\n\nEquality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:\n - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and\n non-intersecting elements in `Y` are appended, retaining their partial order.\n - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values\n are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with\n non-intersecting keys are appended, retaining their partial order.\nRequired.",
+ "apiVersion": {
+ "description": "APIVersion is the API group version the resources belong to. In format of \"group/version\". Required.",
"type": "string"
},
- "message": {
- "description": "Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is \"failed rule: {Rule}\". e.g. \"must be a URL with the host matching spec.host\" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is \"failed Expression: {Expression}\".",
+ "kind": {
+ "description": "Kind is the API kind the resources belong to. Required.",
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "x-kubernetes-map-type": "atomic"
+ },
+ "v1beta1.ParamRef": {
+ "description": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.",
+ "properties": {
+ "name": {
+ "description": "name is the name of the resource being referenced.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.\n\nA single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped.",
"type": "string"
},
- "messageExpression": {
- "description": "messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: \"object.x must be less than max (\"+string(params.max)+\")\"",
+ "namespace": {
+ "description": "namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.\n\nA per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.\n\n- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.\n\n- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.",
"type": "string"
},
- "reason": {
- "description": "Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: \"Unauthorized\", \"Forbidden\", \"Invalid\", \"RequestEntityTooLarge\". If not set, StatusReasonInvalid is used in the response to the client.",
+ "parameterNotFoundAction": {
+ "description": "`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.\n\nAllowed values are `Allow` or `Deny`\n\nRequired",
"type": "string"
+ },
+ "selector": {
+ "$ref": "#/definitions/v1.LabelSelector",
+ "description": "selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.\n\nIf multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset."
}
},
- "required": [
- "expression"
- ],
- "type": "object"
+ "type": "object",
+ "x-kubernetes-map-type": "atomic"
},
"v1beta1.Variable": {
"description": "Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.",
@@ -2609,7 +2528,7 @@
"properties": {
"maxSurge": {
"$ref": "#/definitions/intstr.IntOrString",
- "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."
+ "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 immediately 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."
},
"maxUnavailable": {
"$ref": "#/definitions/intstr.IntOrString",
@@ -3281,7 +3200,7 @@
"properties": {
"fieldSelector": {
"$ref": "#/definitions/v1.FieldSelectorAttributes",
- "description": "fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default)."
+ "description": "fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it."
},
"group": {
"description": "Group is the API Group of the Resource. \"*\" means all.",
@@ -3289,7 +3208,7 @@
},
"labelSelector": {
"$ref": "#/definitions/v1.LabelSelectorAttributes",
- "description": "labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default)."
+ "description": "labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it."
},
"name": {
"description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.",
@@ -4659,7 +4578,7 @@
"type": "integer"
},
"backoffLimit": {
- "description": "Specifies the number of retries before marking this job failed. Defaults to 6",
+ "description": "Specifies the number of retries before marking this job failed. Defaults to 6, unless backoffLimitPerIndex (only Indexed Job) is specified. When backoffLimitPerIndex is specified, backoffLimit defaults to 2147483647.",
"format": "int32",
"type": "integer"
},
@@ -4700,7 +4619,7 @@
"description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure."
},
"podReplacementPolicy": {
- "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.",
+ "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use.",
"type": "string"
},
"selector": {
@@ -4898,7 +4817,7 @@
"description": "SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.",
"properties": {
"rules": {
- "description": "rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the \"SucceededCriteriaMet\" condition is added, and the lingering pods are removed. The terminal state for such a Job has the \"Complete\" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed.",
+ "description": "rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the \"SuccessCriteriaMet\" condition is added, and the lingering pods are removed. The terminal state for such a Job has the \"Complete\" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed.",
"items": {
"$ref": "#/definitions/v1.SuccessPolicyRule"
},
@@ -5219,6 +5138,175 @@
],
"type": "object"
},
+ "v1alpha1.PodCertificateRequest": {
+ "description": "PodCertificateRequest encodes a pod requesting a certificate from a given signer.\n\nKubelets use this API to implement podCertificate projected volumes",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "metadata contains the object metadata."
+ },
+ "spec": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequestSpec",
+ "description": "spec contains the details about the certificate being requested."
+ },
+ "status": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequestStatus",
+ "description": "status contains the issued certificate, and a standard set of conditions."
+ }
+ },
+ "required": [
+ "spec"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "certificates.k8s.io",
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
+ }
+ ]
+ },
+ "v1alpha1.PodCertificateRequestList": {
+ "description": "PodCertificateRequestList is a collection of PodCertificateRequest objects",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "items": {
+ "description": "items is a collection of PodCertificateRequest objects",
+ "items": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "metadata contains the list metadata."
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "certificates.k8s.io",
+ "kind": "PodCertificateRequestList",
+ "version": "v1alpha1"
+ }
+ ]
+ },
+ "v1alpha1.PodCertificateRequestSpec": {
+ "description": "PodCertificateRequestSpec describes the certificate request. All fields are immutable after creation.",
+ "properties": {
+ "maxExpirationSeconds": {
+ "description": "maxExpirationSeconds is the maximum lifetime permitted for the certificate.\n\nIf omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver will reject values shorter than 3600 (1 hour). The maximum allowable value is 7862400 (91 days).\n\nThe signer implementation is then free to issue a certificate with any lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600 seconds (1 hour). This constraint is enforced by kube-apiserver. `kubernetes.io` signers will never issue certificates with a lifetime longer than 24 hours.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "nodeName": {
+ "description": "nodeName is the name of the node the pod is assigned to.",
+ "type": "string"
+ },
+ "nodeUID": {
+ "description": "nodeUID is the UID of the node the pod is assigned to.",
+ "type": "string"
+ },
+ "pkixPublicKey": {
+ "description": "pkixPublicKey is the PKIX-serialized public key the signer will issue the certificate to.\n\nThe key must be one of RSA3072, RSA4096, ECDSAP256, ECDSAP384, ECDSAP521, or ED25519. Note that this list may be expanded in the future.\n\nSigner implementations do not need to support all key types supported by kube-apiserver and kubelet. If a signer does not support the key type used for a given PodCertificateRequest, it must deny the request by setting a status.conditions entry with a type of \"Denied\" and a reason of \"UnsupportedKeyType\". It may also suggest a key type that it does support in the message field.",
+ "format": "byte",
+ "type": "string"
+ },
+ "podName": {
+ "description": "podName is the name of the pod into which the certificate will be mounted.",
+ "type": "string"
+ },
+ "podUID": {
+ "description": "podUID is the UID of the pod into which the certificate will be mounted.",
+ "type": "string"
+ },
+ "proofOfPossession": {
+ "description": "proofOfPossession proves that the requesting kubelet holds the private key corresponding to pkixPublicKey.\n\nIt is contructed by signing the ASCII bytes of the pod's UID using `pkixPublicKey`.\n\nkube-apiserver validates the proof of possession during creation of the PodCertificateRequest.\n\nIf the key is an RSA key, then the signature is over the ASCII bytes of the pod UID, using RSASSA-PSS from RFC 8017 (as implemented by the golang function crypto/rsa.SignPSS with nil options).\n\nIf the key is an ECDSA key, then the signature is as described by [SEC 1, Version 2.0](https://www.secg.org/sec1-v2.pdf) (as implemented by the golang library function crypto/ecdsa.SignASN1)\n\nIf the key is an ED25519 key, the the signature is as described by the [ED25519 Specification](https://ed25519.cr.yp.to/) (as implemented by the golang library crypto/ed25519.Sign).",
+ "format": "byte",
+ "type": "string"
+ },
+ "serviceAccountName": {
+ "description": "serviceAccountName is the name of the service account the pod is running as.",
+ "type": "string"
+ },
+ "serviceAccountUID": {
+ "description": "serviceAccountUID is the UID of the service account the pod is running as.",
+ "type": "string"
+ },
+ "signerName": {
+ "description": "signerName indicates the requested signer.\n\nAll signer names beginning with `kubernetes.io` are reserved for use by the Kubernetes project. There is currently one well-known signer documented by the Kubernetes project, `kubernetes.io/kube-apiserver-client-pod`, which will issue client certificates understood by kube-apiserver. It is currently unimplemented.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "signerName",
+ "podName",
+ "podUID",
+ "serviceAccountName",
+ "serviceAccountUID",
+ "nodeName",
+ "nodeUID",
+ "pkixPublicKey",
+ "proofOfPossession"
+ ],
+ "type": "object"
+ },
+ "v1alpha1.PodCertificateRequestStatus": {
+ "description": "PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued.",
+ "properties": {
+ "beginRefreshAt": {
+ "description": "beginRefreshAt is the time at which the kubelet should begin trying to refresh the certificate. This field is set via the /status subresource, and must be set at the same time as certificateChain. Once populated, this field is immutable.\n\nThis field is only a hint. Kubelet may start refreshing before or after this time if necessary.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "certificateChain": {
+ "description": "certificateChain is populated with an issued certificate by the signer. This field is set via the /status subresource. Once populated, this field is immutable.\n\nIf the certificate signing request is denied, a condition of type \"Denied\" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type \"Failed\" is added and this field remains empty.\n\nValidation requirements:\n 1. certificateChain must consist of one or more PEM-formatted certificates.\n 2. Each entry must be a valid PEM-wrapped, DER-encoded ASN.1 Certificate as\n described in section 4 of RFC5280.\n\nIf more than one block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes. When projecting the chain into a pod volume, kubelet will drop any data in-between the PEM blocks, as well as any PEM block headers.",
+ "type": "string"
+ },
+ "conditions": {
+ "description": "conditions applied to the request.\n\nThe types \"Issued\", \"Denied\", and \"Failed\" have special handling. At most one of these conditions may be present, and they must have status \"True\".\n\nIf the request is denied with `Reason=UnsupportedKeyType`, the signer may suggest a key type that will work in the message field.",
+ "items": {
+ "$ref": "#/definitions/v1.Condition"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "type"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "type",
+ "x-kubernetes-patch-strategy": "merge"
+ },
+ "notAfter": {
+ "description": "notAfter is the time at which the certificate expires. The value must be the same as the notAfter value in the leaf certificate in certificateChain. This field is set via the /status subresource. Once populated, it is immutable. The signer must set this field at the same time it sets certificateChain.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "notBefore": {
+ "description": "notBefore is the time at which the certificate becomes valid. The value must be the same as the notBefore value in the leaf certificate in certificateChain. This field is set via the /status subresource. Once populated, it is immutable. The signer must set this field at the same time it sets certificateChain.",
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"v1beta1.ClusterTrustBundle": {
"description": "ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates).\n\nClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the `clusterTrustBundle` projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to.\n\nIt can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.",
"properties": {
@@ -6406,7 +6494,7 @@
"x-kubernetes-patch-strategy": "merge"
},
"envFrom": {
- "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.",
+ "description": "List of sources to populate environment variables in the container. The keys defined within a source may consist of any printable ASCII characters except '='. 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.",
"items": {
"$ref": "#/definitions/v1.EnvFromSource"
},
@@ -6464,9 +6552,17 @@
"description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"
},
"restartPolicy": {
- "description": "RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is \"Always\". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed.",
+ "description": "RestartPolicy defines the restart behavior of individual containers in a pod. This overrides the pod-level restart policy. When this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Additionally, setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed.",
"type": "string"
},
+ "restartPolicyRules": {
+ "description": "Represents a list of rules to be checked to determine if the container should be restarted on exit. The rules are evaluated in order. Once a rule matches a container exit condition, the remaining rules are ignored. If no rule matches the container exit condition, the Container-level restart policy determines the whether the container is restarted or not. Constraints on the rules: - At most 20 rules are allowed. - Rules can have the same action. - Identical rules are not forbidden in validations. When rules are specified, container MUST set RestartPolicy explicitly even it if matches the Pod's RestartPolicy.",
+ "items": {
+ "$ref": "#/definitions/v1.ContainerRestartRule"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
"securityContext": {
"$ref": "#/definitions/v1.SecurityContext",
"description": "SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"
@@ -6531,6 +6627,29 @@
],
"type": "object"
},
+ "v1.ContainerExtendedResourceRequest": {
+ "description": "ContainerExtendedResourceRequest has the mapping of container name, extended resource name to the device request name.",
+ "properties": {
+ "containerName": {
+ "description": "The name of the container requesting resources.",
+ "type": "string"
+ },
+ "requestName": {
+ "description": "The name of the request in the special ResourceClaim which corresponds to the extended resource.",
+ "type": "string"
+ },
+ "resourceName": {
+ "description": "The name of the extended resource in that container which gets backed by DRA.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "containerName",
+ "resourceName",
+ "requestName"
+ ],
+ "type": "object"
+ },
"v1.ContainerImage": {
"description": "Describe a container image",
"properties": {
@@ -6599,6 +6718,45 @@
],
"type": "object"
},
+ "v1.ContainerRestartRule": {
+ "description": "ContainerRestartRule describes how a container exit is handled.",
+ "properties": {
+ "action": {
+ "description": "Specifies the action taken on a container exit if the requirements are satisfied. The only possible value is \"Restart\" to restart the container.",
+ "type": "string"
+ },
+ "exitCodes": {
+ "$ref": "#/definitions/v1.ContainerRestartRuleOnExitCodes",
+ "description": "Represents the exit codes to check on container exits."
+ }
+ },
+ "required": [
+ "action"
+ ],
+ "type": "object"
+ },
+ "v1.ContainerRestartRuleOnExitCodes": {
+ "description": "ContainerRestartRuleOnExitCodes describes the condition for handling an exited container based on its exit codes.",
+ "properties": {
+ "operator": {
+ "description": "Represents the relationship between the container exit code(s) and the specified values. Possible values are: - In: the requirement is satisfied if the container exit code is in the\n set of specified values.\n- NotIn: the requirement is satisfied if the container exit code is\n not in the set of specified values.",
+ "type": "string"
+ },
+ "values": {
+ "description": "Specifies the set of values to check for container exit codes. At most 255 elements are allowed.",
+ "items": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "set"
+ }
+ },
+ "required": [
+ "operator"
+ ],
+ "type": "object"
+ },
"v1.ContainerState": {
"description": "ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.",
"properties": {
@@ -7034,7 +7192,7 @@
"description": "The ConfigMap to select from"
},
"prefix": {
- "description": "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.",
+ "description": "Optional text to prepend to the name of each environment variable. May consist of any printable ASCII characters except '='.",
"type": "string"
},
"secretRef": {
@@ -7048,7 +7206,7 @@
"description": "EnvVar represents an environment variable present in a Container.",
"properties": {
"name": {
- "description": "Name of the environment variable. Must be a C_IDENTIFIER.",
+ "description": "Name of the environment variable. May consist of any printable ASCII characters except '='.",
"type": "string"
},
"value": {
@@ -7076,6 +7234,10 @@
"$ref": "#/definitions/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."
},
+ "fileKeyRef": {
+ "$ref": "#/definitions/v1.FileKeySelector",
+ "description": "FileKeyRef selects a key of the env file. Requires the EnvFiles feature gate to be enabled."
+ },
"resourceFieldRef": {
"$ref": "#/definitions/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."
@@ -7120,7 +7282,7 @@
"x-kubernetes-patch-strategy": "merge"
},
"envFrom": {
- "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.",
+ "description": "List of sources to populate environment variables in the container. The keys defined within a source may consist of any printable ASCII characters except '='. 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.",
"items": {
"$ref": "#/definitions/v1.EnvFromSource"
},
@@ -7178,9 +7340,17 @@
"description": "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod."
},
"restartPolicy": {
- "description": "Restart policy for the container to manage the restart behavior of each container within a pod. This may only be set for init containers. You cannot set this field on ephemeral containers.",
+ "description": "Restart policy for the container to manage the restart behavior of each container within a pod. You cannot set this field on ephemeral containers.",
"type": "string"
},
+ "restartPolicyRules": {
+ "description": "Represents a list of rules to be checked to determine if the container should be restarted on exit. You cannot set this field on ephemeral containers.",
+ "items": {
+ "$ref": "#/definitions/v1.ContainerRestartRule"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
"securityContext": {
"$ref": "#/definitions/v1.SecurityContext",
"description": "Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext."
@@ -7462,6 +7632,34 @@
},
"type": "object"
},
+ "v1.FileKeySelector": {
+ "description": "FileKeySelector selects a key of the env file.",
+ "properties": {
+ "key": {
+ "description": "The key within the env file. An invalid key will prevent the pod from starting. The keys defined within a source may consist of any printable ASCII characters except '='. During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.",
+ "type": "string"
+ },
+ "optional": {
+ "description": "Specify whether the file or its key must be defined. If the file or key does not exist, then the env var is not published. If optional is set to true and the specified key does not exist, the environment variable will not be set in the Pod's containers.\n\nIf optional is set to false and the specified key does not exist, an error will be returned during Pod creation.",
+ "type": "boolean"
+ },
+ "path": {
+ "description": "The path within the volume from which to select the file. Must be relative and may not contain the '..' path or start with '..'.",
+ "type": "string"
+ },
+ "volumeName": {
+ "description": "The name of the volume mount containing the env file.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "volumeName",
+ "path",
+ "key"
+ ],
+ "type": "object",
+ "x-kubernetes-map-type": "atomic"
+ },
"v1.FlexPersistentVolumeSource": {
"description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.",
"properties": {
@@ -7635,7 +7833,7 @@
"description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
"properties": {
"endpoints": {
- "description": "endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
+ "description": "endpoints is the endpoint name that details Glusterfs topology.",
"type": "string"
},
"path": {
@@ -9076,7 +9274,7 @@
"type": "string"
},
"volumeAttributesClassName": {
- "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).",
+ "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string or nil value indicates that no VolumeAttributesClass will be applied to the claim. If the claim enters an Infeasible error state, this field can be reset to its previous value (including nil) to cancel the modification. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/",
"type": "string"
},
"volumeMode": {
@@ -9137,12 +9335,12 @@
"x-kubernetes-patch-strategy": "merge"
},
"currentVolumeAttributesClassName": {
- "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is a beta field and requires enabling VolumeAttributesClass feature (off by default).",
+ "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim",
"type": "string"
},
"modifyVolumeStatus": {
"$ref": "#/definitions/v1.ModifyVolumeStatus",
- "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is a beta field and requires enabling VolumeAttributesClass feature (off by default)."
+ "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted."
},
"phase": {
"description": "phase represents the current phase of PersistentVolumeClaim.",
@@ -9348,7 +9546,7 @@
"description": "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. More info: https://examples.k8s.io/volumes/storageos/README.md"
},
"volumeAttributesClassName": {
- "description": "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is a beta field and requires enabling VolumeAttributesClass feature (off by default).",
+ "description": "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process.",
"type": "string"
},
"volumeMode": {
@@ -9506,7 +9704,7 @@
"description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.",
"properties": {
"preferredDuringSchedulingIgnoredDuringExecution": {
- "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.",
+ "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 subtracting \"weight\" from the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.",
"items": {
"$ref": "#/definitions/v1.WeightedPodAffinityTerm"
},
@@ -9524,6 +9722,41 @@
},
"type": "object"
},
+ "v1.PodCertificateProjection": {
+ "description": "PodCertificateProjection provides a private key and X.509 certificate in the pod filesystem.",
+ "properties": {
+ "certificateChainPath": {
+ "description": "Write the certificate chain at this path in the projected volume.\n\nMost applications should use credentialBundlePath. When using keyPath and certificateChainPath, your application needs to check that the key and leaf certificate are consistent, because it is possible to read the files mid-rotation.",
+ "type": "string"
+ },
+ "credentialBundlePath": {
+ "description": "Write the credential bundle at this path in the projected volume.\n\nThe credential bundle is a single file that contains multiple PEM blocks. The first PEM block is a PRIVATE KEY block, containing a PKCS#8 private key.\n\nThe remaining blocks are CERTIFICATE blocks, containing the issued certificate chain from the signer (leaf and any intermediates).\n\nUsing credentialBundlePath lets your Pod's application code make a single atomic read that retrieves a consistent key and certificate chain. If you project them to separate files, your application code will need to additionally check that the leaf certificate was issued to the key.",
+ "type": "string"
+ },
+ "keyPath": {
+ "description": "Write the key at this path in the projected volume.\n\nMost applications should use credentialBundlePath. When using keyPath and certificateChainPath, your application needs to check that the key and leaf certificate are consistent, because it is possible to read the files mid-rotation.",
+ "type": "string"
+ },
+ "keyType": {
+ "description": "The type of keypair Kubelet will generate for the pod.\n\nValid values are \"RSA3072\", \"RSA4096\", \"ECDSAP256\", \"ECDSAP384\", \"ECDSAP521\", and \"ED25519\".",
+ "type": "string"
+ },
+ "maxExpirationSeconds": {
+ "description": "maxExpirationSeconds is the maximum lifetime permitted for the certificate.\n\nKubelet copies this value verbatim into the PodCertificateRequests it generates for this projection.\n\nIf omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver will reject values shorter than 3600 (1 hour). The maximum allowable value is 7862400 (91 days).\n\nThe signer implementation is then free to issue a certificate with any lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600 seconds (1 hour). This constraint is enforced by kube-apiserver. `kubernetes.io` signers will never issue certificates with a lifetime longer than 24 hours.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "signerName": {
+ "description": "Kubelet's generated CSRs will be addressed to this signer.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "signerName",
+ "keyType"
+ ],
+ "type": "object"
+ },
"v1.PodCondition": {
"description": "PodCondition contains details for the current condition of this pod.",
"properties": {
@@ -9609,6 +9842,28 @@
},
"type": "object"
},
+ "v1.PodExtendedResourceClaimStatus": {
+ "description": "PodExtendedResourceClaimStatus is stored in the PodStatus for the extended resource requests backed by DRA. It stores the generated name for the corresponding special ResourceClaim created by the scheduler.",
+ "properties": {
+ "requestMappings": {
+ "description": "RequestMappings identifies the mapping of to device request in the generated ResourceClaim.",
+ "items": {
+ "$ref": "#/definitions/v1.ContainerExtendedResourceRequest"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "resourceClaimName": {
+ "description": "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "requestMappings",
+ "resourceClaimName"
+ ],
+ "type": "object"
+ },
"v1.PodIP": {
"description": "PodIP represents a single IP address allocated to the pod.",
"properties": {
@@ -9876,7 +10131,7 @@
"type": "boolean"
},
"hostNetwork": {
- "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.",
+ "description": "Host networking requested for this pod. Use the host's network namespace. When using HostNetwork you should specify ports so the scheduler is aware. When `hostNetwork` is true, specified `hostPort` fields in port definitions must match `containerPort`, and unspecified `hostPort` fields in port definitions are defaulted to match `containerPort`. Default to false.",
"type": "boolean"
},
"hostPID": {
@@ -9891,6 +10146,10 @@
"description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.",
"type": "string"
},
+ "hostnameOverride": {
+ "description": "HostnameOverride specifies an explicit override for the pod's hostname as perceived by the pod. This field only specifies the pod's hostname and does not affect its DNS records. When this field is set to a non-empty string: - It takes precedence over the values set in `hostname` and `subdomain`. - The Pod's hostname will be set to this value. - `setHostnameAsFQDN` must be nil or set to false. - `hostNetwork` must be set to false.\n\nThis field must be a valid DNS subdomain as defined in RFC 1123 and contain at most 64 characters. Requires the HostnameOverride feature gate to be enabled.",
+ "type": "string"
+ },
"imagePullSecrets": {
"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. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod",
"items": {
@@ -9931,7 +10190,7 @@
},
"os": {
"$ref": "#/definitions/v1.PodOS",
- "description": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.securityContext.supplementalGroupsPolicy - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup"
+ "description": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.resources - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.securityContext.supplementalGroupsPolicy - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup"
},
"overhead": {
"additionalProperties": {
@@ -9976,7 +10235,7 @@
},
"resources": {
"$ref": "#/definitions/v1.ResourceRequirements",
- "description": "Resources is the total amount of CPU and Memory resources required by all containers in the pod. It supports specifying Requests and Limits for \"cpu\" and \"memory\" resource names only. ResourceClaims are not supported.\n\nThis field enables fine-grained control over resource allocation for the entire pod, allowing resource sharing among containers in a pod.\n\nThis is an alpha field and requires enabling the PodLevelResources feature gate."
+ "description": "Resources is the total amount of CPU and Memory resources required by all containers in the pod. It supports specifying Requests and Limits for \"cpu\", \"memory\" and \"hugepages-\" resource names only. ResourceClaims are not supported.\n\nThis field enables fine-grained control over resource allocation for the entire pod, allowing resource sharing among containers in a pod.\n\nThis is an alpha field and requires enabling the PodLevelResources feature gate."
},
"restartPolicy": {
"description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy",
@@ -10105,6 +10364,10 @@
"type": "array",
"x-kubernetes-list-type": "atomic"
},
+ "extendedResourceClaimStatus": {
+ "$ref": "#/definitions/v1.PodExtendedResourceClaimStatus",
+ "description": "Status of extended resource claim backed by DRA."
+ },
"hostIP": {
"description": "hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet. A pod can be assigned to a node that has a problem in kubelet which in turns mean that HostIP will not be updated even if there is a node is assigned to pod",
"type": "string"
@@ -10706,7 +10969,7 @@
],
"type": "object"
},
- "v1.ResourceClaim": {
+ "core.v1.ResourceClaim": {
"description": "ResourceClaim references one entry in PodSpec.ResourceClaims.",
"properties": {
"name": {
@@ -10879,9 +11142,9 @@
"description": "ResourceRequirements describes the compute resource requirements.",
"properties": {
"claims": {
- "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.",
+ "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis field depends on the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.",
"items": {
- "$ref": "#/definitions/v1.ResourceClaim"
+ "$ref": "#/definitions/core.v1.ResourceClaim"
},
"type": "array",
"x-kubernetes-list-map-keys": [
@@ -11832,7 +12095,7 @@
"type": "string"
},
"timeAdded": {
- "description": "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.",
+ "description": "TimeAdded represents the time at which the taint was added.",
"format": "date-time",
"type": "string"
},
@@ -12074,7 +12337,7 @@
},
"glusterfs": {
"$ref": "#/definitions/v1.GlusterfsVolumeSource",
- "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md"
+ "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported."
},
"hostPath": {
"$ref": "#/definitions/v1.HostPathVolumeSource",
@@ -12086,7 +12349,7 @@
},
"iscsi": {
"$ref": "#/definitions/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"
+ "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://kubernetes.io/docs/concepts/storage/volumes/#iscsi"
},
"name": {
"description": "name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
@@ -12118,7 +12381,7 @@
},
"rbd": {
"$ref": "#/definitions/v1.RBDVolumeSource",
- "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md"
+ "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported."
},
"scaleIO": {
"$ref": "#/definitions/v1.ScaleIOVolumeSource",
@@ -12249,6 +12512,10 @@
"$ref": "#/definitions/v1.DownwardAPIProjection",
"description": "downwardAPI information about the downwardAPI data to project"
},
+ "podCertificate": {
+ "$ref": "#/definitions/v1.PodCertificateProjection",
+ "description": "Projects an auto-rotating credential bundle (private key and certificate chain) that the pod can use either as a TLS client or server.\n\nKubelet generates a private key and uses it to send a PodCertificateRequest to the named signer. Once the signer approves the request and issues a certificate chain, Kubelet writes the key and certificate chain to the pod filesystem. The pod does not start until certificates have been issued for each podCertificate projected volume source in its spec.\n\nKubelet will begin trying to rotate the certificate at the time indicated by the signer using the PodCertificateRequest.Status.BeginRefreshAt timestamp.\n\nKubelet can write a single file, indicated by the credentialBundlePath field, or separate files, indicated by the keyPath and certificateChainPath fields.\n\nThe credential bundle is a single file in PEM format. The first PEM entry is the private key (in PKCS#8 format), and the remaining PEM entries are the certificate chain issued by the signer (typically, signers will return their certificate chain in leaf-to-root order).\n\nPrefer using the credential bundle format, since your application code can read it atomically. If you use keyPath and certificateChainPath, your application must make two separate file reads. If these coincide with a certificate rotation, it is possible that the private key and leaf certificate you read may not correspond to each other. Your application will need to check for this condition, and re-read until they are consistent.\n\nThe named signer controls chooses the format of the certificate it issues; consult the signer implementation's documentation to learn how to use the certificates it issues."
+ },
"secret": {
"$ref": "#/definitions/v1.SecretProjection",
"description": "secret information about the secret data to project"
@@ -13937,7 +14204,7 @@
},
"podSelector": {
"$ref": "#/definitions/v1.LabelSelector",
- "description": "podSelector 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."
+ "description": "podSelector selects the pods to which this NetworkPolicy object applies. The array of rules is applied to any pods selected by this field. An empty selector matches all pods in the policy's namespace. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is optional. If it is not specified, it defaults to an empty selector."
},
"policyTypes": {
"description": "policyTypes is a 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",
@@ -13948,9 +14215,6 @@
"x-kubernetes-list-type": "atomic"
}
},
- "required": [
- "podSelector"
- ],
"type": "object"
},
"v1.ParentReference": {
@@ -14993,8 +15257,8 @@
"type": "object",
"x-kubernetes-map-type": "atomic"
},
- "v1alpha3.AllocatedDeviceStatus": {
- "description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.",
+ "v1.AllocatedDeviceStatus": {
+ "description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.\n\nThe combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices.",
"properties": {
"conditions": {
"description": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.\n\nMust not contain more than 8 entries.",
@@ -15020,12 +15284,16 @@
"type": "string"
},
"networkData": {
- "$ref": "#/definitions/v1alpha3.NetworkDeviceData",
+ "$ref": "#/definitions/v1.NetworkDeviceData",
"description": "NetworkData contains network-related information specific to the device."
},
"pool": {
"description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.",
"type": "string"
+ },
+ "shareID": {
+ "description": "ShareID uniquely identifies an individual allocation share of the device.",
+ "type": "string"
}
},
"required": [
@@ -15035,11 +15303,16 @@
],
"type": "object"
},
- "v1alpha3.AllocationResult": {
+ "v1.AllocationResult": {
"description": "AllocationResult contains attributes of an allocated resource.",
"properties": {
+ "allocationTimestamp": {
+ "description": "AllocationTimestamp stores the time when the resources were allocated. This field is not guaranteed to be set, in which case that time is unknown.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gate.",
+ "format": "date-time",
+ "type": "string"
+ },
"devices": {
- "$ref": "#/definitions/v1alpha3.DeviceAllocationResult",
+ "$ref": "#/definitions/v1.DeviceAllocationResult",
"description": "Devices is the result of allocating devices."
},
"nodeSelector": {
@@ -15049,47 +15322,34 @@
},
"type": "object"
},
- "v1alpha3.BasicDevice": {
- "description": "BasicDevice defines one device instance.",
+ "v1.CELDeviceSelector": {
+ "description": "CELDeviceSelector contains a CEL expression for selecting a device.",
"properties": {
- "allNodes": {
- "description": "AllNodes indicates that all nodes have access to the device.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.",
- "type": "boolean"
- },
- "attributes": {
- "additionalProperties": {
- "$ref": "#/definitions/v1alpha3.DeviceAttribute"
- },
- "description": "Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.",
- "type": "object"
- },
- "capacity": {
- "additionalProperties": {
- "$ref": "#/definitions/resource.Quantity"
- },
- "description": "Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.",
- "type": "object"
- },
- "consumesCounters": {
- "description": "ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.\n\nThere can only be a single entry per counterSet.\n\nThe total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).",
- "items": {
- "$ref": "#/definitions/v1alpha3.DeviceCounterConsumption"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "nodeName": {
- "description": "NodeName identifies the node where the device is available.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.",
+ "expression": {
+ "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device\n (v1.34+ with the DRAConsumableCapacity feature enabled).\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)\n\nThe length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.",
"type": "string"
+ }
+ },
+ "required": [
+ "expression"
+ ],
+ "type": "object"
+ },
+ "v1.CapacityRequestPolicy": {
+ "description": "CapacityRequestPolicy defines how requests consume device capacity.\n\nMust not set more than one ValidRequestValues.",
+ "properties": {
+ "default": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Default specifies how much of this capacity is consumed by a request that does not contain an entry for it in DeviceRequest's Capacity."
},
- "nodeSelector": {
- "$ref": "#/definitions/v1.NodeSelector",
- "description": "NodeSelector defines the nodes where the device is available.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set."
+ "validRange": {
+ "$ref": "#/definitions/v1.CapacityRequestPolicyRange",
+ "description": "ValidRange defines an acceptable quantity value range in consuming requests.\n\nIf this field is set, Default must be defined and it must fall within the defined ValidRange.\n\nIf the requested amount does not fall within the defined range, the request violates the policy, and this device cannot be allocated.\n\nIf the request doesn't contain this capacity entry, Default value is used."
},
- "taints": {
- "description": "If specified, these are the driver-defined taints.\n\nThe maximum number of taints is 4.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "validValues": {
+ "description": "ValidValues defines a set of acceptable quantity values in consuming requests.\n\nMust not contain more than 10 entries. Must be sorted in ascending order.\n\nIf this field is set, Default must be defined and it must be included in ValidValues list.\n\nIf the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) \u2208 validValues), where requestedValue \u2264 max(validValues).\n\nIf the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated.",
"items": {
- "$ref": "#/definitions/v1alpha3.DeviceTaint"
+ "$ref": "#/definitions/resource.Quantity"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
@@ -15097,20 +15357,41 @@
},
"type": "object"
},
- "v1alpha3.CELDeviceSelector": {
- "description": "CELDeviceSelector contains a CEL expression for selecting a device.",
+ "v1.CapacityRequestPolicyRange": {
+ "description": "CapacityRequestPolicyRange defines a valid range for consumable capacity values.\n\n - If the requested amount is less than Min, it is rounded up to the Min value.\n - If Step is set and the requested amount is between Min and Max but not aligned with Step,\n it will be rounded up to the next value equal to Min + (n * Step).\n - If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set).\n - If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy,\n and the device cannot be allocated.",
"properties": {
- "expression": {
- "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)\n\nThe length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.",
- "type": "string"
+ "max": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Max defines the upper limit for capacity that can be requested.\n\nMax must be less than or equal to the capacity value. Min and requestPolicy.default must be less than or equal to the maximum."
+ },
+ "min": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Min specifies the minimum capacity allowed for a consumption request.\n\nMin must be greater than or equal to zero, and less than or equal to the capacity value. requestPolicy.default must be more than or equal to the minimum."
+ },
+ "step": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Step defines the step size between valid capacity amounts within the range.\n\nMax (if set) and requestPolicy.default must be a multiple of Step. Min + Step must be less than or equal to the capacity value."
}
},
"required": [
- "expression"
+ "min"
],
"type": "object"
},
- "v1alpha3.Counter": {
+ "v1.CapacityRequirements": {
+ "description": "CapacityRequirements defines the capacity requirements for a specific device request.",
+ "properties": {
+ "requests": {
+ "additionalProperties": {
+ "$ref": "#/definitions/resource.Quantity"
+ },
+ "description": "Requests represent individual device resource requests for distinct resources, all of which must be provided by the device.\n\nThis value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[]..compareTo(quantity()) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0.\n\nWhen a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value\u2014because it exceeds what the requestPolicy allows\u2014 the device is considered ineligible for allocation.\n\nFor any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity\n (i.e., the whole device is claimed).\n- If a requestPolicy is set, the default consumed capacity is determined according to that policy.\n\nIf the device allows multiple allocation, the aggregated amount across all requests must not exceed the capacity value. The consumed capacity, which may be adjusted based on the requestPolicy if defined, is recorded in the resource claim\u2019s status.devices[*].consumedCapacity field.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "v1.Counter": {
"description": "Counter describes a quantity associated with a device.",
"properties": {
"value": {
@@ -15123,18 +15404,18 @@
],
"type": "object"
},
- "v1alpha3.CounterSet": {
+ "v1.CounterSet": {
"description": "CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.\n\nThe counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.",
"properties": {
"counters": {
"additionalProperties": {
- "$ref": "#/definitions/v1alpha3.Counter"
+ "$ref": "#/definitions/v1.Counter"
},
- "description": "Counters defines the counters that will be consumed by the device. The name of each counter must be unique in that set and must be a DNS label.\n\nTo ensure this uniqueness, capacities defined by the vendor must be listed without the driver name as domain prefix in their name. All others must be listed with their domain prefix.\n\nThe maximum number of counters is 32.",
+ "description": "Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label.\n\nThe maximum number of counters in all sets is 32.",
"type": "object"
},
"name": {
- "description": "CounterSet is the name of the set from which the counters defined will be consumed.",
+ "description": "Name defines the name of the counter set. It must be a DNS label.",
"type": "string"
}
},
@@ -15144,16 +15425,78 @@
],
"type": "object"
},
- "v1alpha3.Device": {
+ "v1.Device": {
"description": "Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.",
"properties": {
- "basic": {
- "$ref": "#/definitions/v1alpha3.BasicDevice",
- "description": "Basic defines one device instance."
+ "allNodes": {
+ "description": "AllNodes indicates that all nodes have access to the device.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.",
+ "type": "boolean"
+ },
+ "allowMultipleAllocations": {
+ "description": "AllowMultipleAllocations marks whether the device is allowed to be allocated to multiple DeviceRequests.\n\nIf AllowMultipleAllocations is set to true, the device can be allocated more than once, and all of its capacity is consumable, regardless of whether the requestPolicy is defined or not.",
+ "type": "boolean"
+ },
+ "attributes": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1.DeviceAttribute"
+ },
+ "description": "Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.",
+ "type": "object"
+ },
+ "bindingConditions": {
+ "description": "BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod.\n\nThe maximum number of binding conditions is 4.\n\nThe conditions must be a valid condition type string.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "bindingFailureConditions": {
+ "description": "BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is set to \"True\", a binding failure occurred.\n\nThe maximum number of binding failure conditions is 4.\n\nThe conditions must be a valid condition type string.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "bindsToNode": {
+ "description": "BindsToNode indicates if the usage of an allocation involving this device has to be limited to exactly the node that was chosen when allocating the claim. If set to true, the scheduler will set the ResourceClaim.Status.Allocation.NodeSelector to match the node where the allocation was made.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "type": "boolean"
+ },
+ "capacity": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1.DeviceCapacity"
+ },
+ "description": "Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.",
+ "type": "object"
+ },
+ "consumesCounters": {
+ "description": "ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.\n\nThere can only be a single entry per counterSet.\n\nThe total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).",
+ "items": {
+ "$ref": "#/definitions/v1.DeviceCounterConsumption"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
"name": {
"description": "Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.",
"type": "string"
+ },
+ "nodeName": {
+ "description": "NodeName identifies the node where the device is available.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.",
+ "type": "string"
+ },
+ "nodeSelector": {
+ "$ref": "#/definitions/v1.NodeSelector",
+ "description": "NodeSelector defines the nodes where the device is available.\n\nMust use exactly one term.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set."
+ },
+ "taints": {
+ "description": "If specified, these are the driver-defined taints.\n\nThe maximum number of taints is 4.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1.DeviceTaint"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
@@ -15161,11 +15504,11 @@
],
"type": "object"
},
- "v1alpha3.DeviceAllocationConfiguration": {
+ "v1.DeviceAllocationConfiguration": {
"description": "DeviceAllocationConfiguration gets embedded in an AllocationResult.",
"properties": {
"opaque": {
- "$ref": "#/definitions/v1alpha3.OpaqueDeviceConfiguration",
+ "$ref": "#/definitions/v1.OpaqueDeviceConfiguration",
"description": "Opaque provides driver-specific configuration parameters."
},
"requests": {
@@ -15186,13 +15529,13 @@
],
"type": "object"
},
- "v1alpha3.DeviceAllocationResult": {
+ "v1.DeviceAllocationResult": {
"description": "DeviceAllocationResult is the result of allocating devices.",
"properties": {
"config": {
"description": "This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.\n\nThis includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.",
"items": {
- "$ref": "#/definitions/v1alpha3.DeviceAllocationConfiguration"
+ "$ref": "#/definitions/v1.DeviceAllocationConfiguration"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
@@ -15200,7 +15543,7 @@
"results": {
"description": "Results lists all allocated devices.",
"items": {
- "$ref": "#/definitions/v1alpha3.DeviceRequestAllocationResult"
+ "$ref": "#/definitions/v1.DeviceRequestAllocationResult"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
@@ -15208,7 +15551,7 @@
},
"type": "object"
},
- "v1alpha3.DeviceAttribute": {
+ "v1.DeviceAttribute": {
"description": "DeviceAttribute must have exactly one field set.",
"properties": {
"bool": {
@@ -15231,13 +15574,30 @@
},
"type": "object"
},
- "v1alpha3.DeviceClaim": {
+ "v1.DeviceCapacity": {
+ "description": "DeviceCapacity describes a quantity associated with a device.",
+ "properties": {
+ "requestPolicy": {
+ "$ref": "#/definitions/v1.CapacityRequestPolicy",
+ "description": "RequestPolicy defines how this DeviceCapacity must be consumed when the device is allowed to be shared by multiple allocations.\n\nThe Device must have allowMultipleAllocations set to true in order to set a requestPolicy.\n\nIf unset, capacity requests are unconstrained: requests can consume any amount of capacity, as long as the total consumed across all allocations does not exceed the device's defined capacity. If request is also unset, default is the full capacity value."
+ },
+ "value": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Value defines how much of a certain capacity that device has.\n\nThis field reflects the fixed total capacity and does not change. The consumed amount is tracked separately by scheduler and does not affect this value."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "type": "object"
+ },
+ "v1.DeviceClaim": {
"description": "DeviceClaim defines how to request devices with a ResourceClaim.",
"properties": {
"config": {
"description": "This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.",
"items": {
- "$ref": "#/definitions/v1alpha3.DeviceClaimConfiguration"
+ "$ref": "#/definitions/v1.DeviceClaimConfiguration"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
@@ -15245,7 +15605,7 @@
"constraints": {
"description": "These constraints must be satisfied by the set of devices that get allocated for the claim.",
"items": {
- "$ref": "#/definitions/v1alpha3.DeviceConstraint"
+ "$ref": "#/definitions/v1.DeviceConstraint"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
@@ -15253,7 +15613,7 @@
"requests": {
"description": "Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.",
"items": {
- "$ref": "#/definitions/v1alpha3.DeviceRequest"
+ "$ref": "#/definitions/v1.DeviceRequest"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
@@ -15261,11 +15621,11 @@
},
"type": "object"
},
- "v1alpha3.DeviceClaimConfiguration": {
+ "v1.DeviceClaimConfiguration": {
"description": "DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.",
"properties": {
"opaque": {
- "$ref": "#/definitions/v1alpha3.OpaqueDeviceConfiguration",
+ "$ref": "#/definitions/v1.OpaqueDeviceConfiguration",
"description": "Opaque provides driver-specific configuration parameters."
},
"requests": {
@@ -15279,7 +15639,7 @@
},
"type": "object"
},
- "v1alpha3.DeviceClass": {
+ "v1.DeviceClass": {
"description": "DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
"properties": {
"apiVersion": {
@@ -15295,7 +15655,7 @@
"description": "Standard object metadata"
},
"spec": {
- "$ref": "#/definitions/v1alpha3.DeviceClassSpec",
+ "$ref": "#/definitions/v1.DeviceClassSpec",
"description": "Spec defines what can be allocated and how to configure it.\n\nThis is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.\n\nChanging the spec automatically increments the metadata.generation number."
}
},
@@ -15307,21 +15667,21 @@
{
"group": "resource.k8s.io",
"kind": "DeviceClass",
- "version": "v1alpha3"
+ "version": "v1"
}
]
},
- "v1alpha3.DeviceClassConfiguration": {
+ "v1.DeviceClassConfiguration": {
"description": "DeviceClassConfiguration is used in DeviceClass.",
"properties": {
"opaque": {
- "$ref": "#/definitions/v1alpha3.OpaqueDeviceConfiguration",
+ "$ref": "#/definitions/v1.OpaqueDeviceConfiguration",
"description": "Opaque provides driver-specific configuration parameters."
}
},
"type": "object"
},
- "v1alpha3.DeviceClassList": {
+ "v1.DeviceClassList": {
"description": "DeviceClassList is a collection of classes.",
"properties": {
"apiVersion": {
@@ -15331,7 +15691,7 @@
"items": {
"description": "Items is the list of resource classes.",
"items": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
+ "$ref": "#/definitions/v1.DeviceClass"
},
"type": "array"
},
@@ -15352,25 +15712,29 @@
{
"group": "resource.k8s.io",
"kind": "DeviceClassList",
- "version": "v1alpha3"
+ "version": "v1"
}
]
},
- "v1alpha3.DeviceClassSpec": {
+ "v1.DeviceClassSpec": {
"description": "DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.",
"properties": {
"config": {
"description": "Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.\n\nThey are passed to the driver, but are not considered while allocating the claim.",
"items": {
- "$ref": "#/definitions/v1alpha3.DeviceClassConfiguration"
+ "$ref": "#/definitions/v1.DeviceClassConfiguration"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
+ "extendedResourceName": {
+ "description": "ExtendedResourceName is the extended resource name for the devices of this class. The devices of this class can be used to satisfy a pod's extended resource requests. It has the same format as the name of a pod's extended resource. It should be unique among all the device classes in a cluster. If two device classes have the same name, then the class created later is picked to satisfy a pod's extended resource requests. If two classes are created at the same time, then the name of the class lexicographically sorted first is picked.\n\nThis is an alpha field.",
+ "type": "string"
+ },
"selectors": {
"description": "Each selector must be satisfied by a device which is claimed via this class.",
"items": {
- "$ref": "#/definitions/v1alpha3.DeviceSelector"
+ "$ref": "#/definitions/v1.DeviceSelector"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
@@ -15378,9 +15742,13 @@
},
"type": "object"
},
- "v1alpha3.DeviceConstraint": {
+ "v1.DeviceConstraint": {
"description": "DeviceConstraint must have exactly one field set besides Requests.",
"properties": {
+ "distinctAttribute": {
+ "description": "DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices.\n\nThis acts as the inverse of MatchAttribute.\n\nThis constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation.\n\nThis is useful for scenarios where resource requests must be fulfilled by separate physical devices. For example, a container requests two network interfaces that must be allocated from two different physical NICs.",
+ "type": "string"
+ },
"matchAttribute": {
"description": "MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.\n\nFor example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.\n\nMust include the domain qualifier.",
"type": "string"
@@ -15396,18 +15764,18 @@
},
"type": "object"
},
- "v1alpha3.DeviceCounterConsumption": {
+ "v1.DeviceCounterConsumption": {
"description": "DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.",
"properties": {
"counterSet": {
- "description": "CounterSet defines the set from which the counters defined will be consumed.",
+ "description": "CounterSet is the name of the set from which the counters defined will be consumed.",
"type": "string"
},
"counters": {
"additionalProperties": {
- "$ref": "#/definitions/v1alpha3.Counter"
+ "$ref": "#/definitions/v1.Counter"
},
- "description": "Counters defines the Counter that will be consumed by the device.\n\nThe maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).",
+ "description": "Counters defines the counters that will be consumed by the device.\n\nThe maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).",
"type": "object"
}
},
@@ -15417,53 +15785,24 @@
],
"type": "object"
},
- "v1alpha3.DeviceRequest": {
- "description": "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.",
+ "v1.DeviceRequest": {
+ "description": "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. With FirstAvailable it is also possible to provide a prioritized list of requests.",
"properties": {
- "adminAccess": {
- "description": "AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.",
- "type": "boolean"
- },
- "allocationMode": {
- "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n At least one device must exist on the node for the allocation to succeed.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
- "type": "string"
- },
- "count": {
- "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.",
- "format": "int64",
- "type": "integer"
- },
- "deviceClassName": {
- "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.\n\nA class is required if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. Which classes are available depends on the cluster.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.",
- "type": "string"
+ "exactly": {
+ "$ref": "#/definitions/v1.ExactDeviceRequest",
+ "description": "Exactly specifies the details for a single request that must be met exactly for the request to be satisfied.\n\nOne of Exactly or FirstAvailable must be set."
},
"firstAvailable": {
- "description": "FirstAvailable contains subrequests, of which exactly one will be satisfied by the scheduler to satisfy this request. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one cannot be used.\n\nThis field may only be set in the entries of DeviceClaim.Requests.\n\nDRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later.",
+ "description": "FirstAvailable contains subrequests, of which exactly one will be selected by the scheduler. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one can not be used.\n\nDRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later.",
"items": {
- "$ref": "#/definitions/v1alpha3.DeviceSubRequest"
+ "$ref": "#/definitions/v1.DeviceSubRequest"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
"name": {
- "description": "Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.\n\nMust be a DNS label.",
+ "description": "Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.\n\nReferences using the name in the DeviceRequest will uniquely identify a request when the Exactly field is set. When the FirstAvailable field is set, a reference to the name of the DeviceRequest will match whatever subrequest is chosen by the scheduler.\n\nMust be a DNS label.",
"type": "string"
- },
- "selectors": {
- "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.",
- "items": {
- "$ref": "#/definitions/v1alpha3.DeviceSelector"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "tolerations": {
- "description": "If specified, the request's tolerations.\n\nTolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.\n\nIn addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.\n\nThe maximum number of tolerations is 16.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
- "items": {
- "$ref": "#/definitions/v1alpha3.DeviceToleration"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
}
},
"required": [
@@ -15471,13 +15810,36 @@
],
"type": "object"
},
- "v1alpha3.DeviceRequestAllocationResult": {
+ "v1.DeviceRequestAllocationResult": {
"description": "DeviceRequestAllocationResult contains the allocation result for one request.",
"properties": {
"adminAccess": {
"description": "AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.",
"type": "boolean"
},
+ "bindingConditions": {
+ "description": "BindingConditions contains a copy of the BindingConditions from the corresponding ResourceSlice at the time of allocation.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "bindingFailureConditions": {
+ "description": "BindingFailureConditions contains a copy of the BindingFailureConditions from the corresponding ResourceSlice at the time of allocation.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "consumedCapacity": {
+ "additionalProperties": {
+ "$ref": "#/definitions/resource.Quantity"
+ },
+ "description": "ConsumedCapacity tracks the amount of capacity consumed per device as part of the claim request. The consumed amount may differ from the requested amount: it is rounded up to the nearest valid value based on the device\u2019s requestPolicy if applicable (i.e., may not be less than the requested amount).\n\nThe total consumed capacity for each device must not exceed the DeviceCapacity's Value.\n\nThis field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero.",
+ "type": "object"
+ },
"device": {
"description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.",
"type": "string"
@@ -15494,10 +15856,14 @@
"description": "Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format /.\n\nMultiple devices may have been allocated per request.",
"type": "string"
},
+ "shareID": {
+ "description": "ShareID uniquely identifies an individual allocation share of the device, used when the device supports multiple simultaneous allocations. It serves as an additional map key to differentiate concurrent shares of the same device.",
+ "type": "string"
+ },
"tolerations": {
"description": "A copy of all tolerations specified in the request at the time when the device got allocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
"items": {
- "$ref": "#/definitions/v1alpha3.DeviceToleration"
+ "$ref": "#/definitions/v1.DeviceToleration"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
@@ -15511,23 +15877,27 @@
],
"type": "object"
},
- "v1alpha3.DeviceSelector": {
+ "v1.DeviceSelector": {
"description": "DeviceSelector must have exactly one field set.",
"properties": {
"cel": {
- "$ref": "#/definitions/v1alpha3.CELDeviceSelector",
+ "$ref": "#/definitions/v1.CELDeviceSelector",
"description": "CEL contains a CEL expression for selecting a device."
}
},
"type": "object"
},
- "v1alpha3.DeviceSubRequest": {
- "description": "DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.\n\nDeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported.",
+ "v1.DeviceSubRequest": {
+ "description": "DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.\n\nDeviceSubRequest is similar to ExactDeviceRequest, but doesn't expose the AdminAccess field as that one is only supported when requesting a specific device.",
"properties": {
"allocationMode": {
- "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
+ "description": "AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This subrequest is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other subrequests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
"type": "string"
},
+ "capacity": {
+ "$ref": "#/definitions/v1.CapacityRequirements",
+ "description": "Capacity define resource requirements against each capacity.\n\nIf this field is unset and the device supports multiple allocations, the default value will be applied to each capacity according to requestPolicy. For the capacity that has no requestPolicy, default is the full capacity value.\n\nApplies to each device allocation. If Count > 1, the request fails if there aren't enough devices that meet the requirements. If AllocationMode is set to All, the request fails if there are devices that otherwise match the request, and have this capacity, with a value >= the requested amount, but which cannot be allocated to this request."
+ },
"count": {
"description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.",
"format": "int64",
@@ -15542,9 +15912,9 @@
"type": "string"
},
"selectors": {
- "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.",
+ "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this subrequest. All selectors must be satisfied for a device to be considered.",
"items": {
- "$ref": "#/definitions/v1alpha3.DeviceSelector"
+ "$ref": "#/definitions/v1.DeviceSelector"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
@@ -15552,7 +15922,7 @@
"tolerations": {
"description": "If specified, the request's tolerations.\n\nTolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.\n\nIn addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
"items": {
- "$ref": "#/definitions/v1alpha3.DeviceToleration"
+ "$ref": "#/definitions/v1.DeviceToleration"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
@@ -15564,7 +15934,7 @@
],
"type": "object"
},
- "v1alpha3.DeviceTaint": {
+ "v1.DeviceTaint": {
"description": "The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.",
"properties": {
"effect": {
@@ -15591,148 +15961,80 @@
],
"type": "object"
},
- "v1alpha3.DeviceTaintRule": {
- "description": "DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.",
+ "v1.DeviceToleration": {
+ "description": "The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple using the matching operator .",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "effect": {
+ "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.",
"type": "string"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "key": {
+ "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. Must be a label name.",
"type": "string"
},
- "metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object metadata"
- },
- "spec": {
- "$ref": "#/definitions/v1alpha3.DeviceTaintRuleSpec",
- "description": "Spec specifies the selector and one taint.\n\nChanging the spec automatically increments the metadata.generation number."
- }
- },
- "required": [
- "spec"
- ],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "resource.k8s.io",
- "kind": "DeviceTaintRule",
- "version": "v1alpha3"
- }
- ]
- },
- "v1alpha3.DeviceTaintRuleList": {
- "description": "DeviceTaintRuleList is a collection of DeviceTaintRules.",
- "properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "operator": {
+ "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 ResourceClaim can tolerate all taints of a particular category.",
"type": "string"
},
- "items": {
- "description": "Items is the list of DeviceTaintRules.",
- "items": {
- "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
- },
- "type": "array"
+ "tolerationSeconds": {
+ "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. If larger than zero, the time when the pod needs to be evicted is calculated as + .",
+ "format": "int64",
+ "type": "integer"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "value": {
+ "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.",
"type": "string"
- },
- "metadata": {
- "$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata"
- }
- },
- "required": [
- "items"
- ],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "resource.k8s.io",
- "kind": "DeviceTaintRuleList",
- "version": "v1alpha3"
- }
- ]
- },
- "v1alpha3.DeviceTaintRuleSpec": {
- "description": "DeviceTaintRuleSpec specifies the selector and one taint.",
- "properties": {
- "deviceSelector": {
- "$ref": "#/definitions/v1alpha3.DeviceTaintSelector",
- "description": "DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satified for a device to match. The empty selector matches all devices. Without a selector, no devices are matches."
- },
- "taint": {
- "$ref": "#/definitions/v1alpha3.DeviceTaint",
- "description": "The taint that gets applied to matching devices."
}
},
- "required": [
- "taint"
- ],
"type": "object"
},
- "v1alpha3.DeviceTaintSelector": {
- "description": "DeviceTaintSelector defines which device(s) a DeviceTaintRule applies to. The empty selector matches all devices. Without a selector, no devices are matched.",
+ "v1.ExactDeviceRequest": {
+ "description": "ExactDeviceRequest is a request for one or more identical devices.",
"properties": {
- "device": {
- "description": "If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.\n\nSetting also driver and pool may be required to avoid ambiguity, but is not required.",
- "type": "string"
+ "adminAccess": {
+ "description": "AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.",
+ "type": "boolean"
},
- "deviceClassName": {
- "description": "If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.",
+ "allocationMode": {
+ "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n At least one device must exist on the node for the allocation to succeed.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
"type": "string"
},
- "driver": {
- "description": "If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.",
- "type": "string"
+ "capacity": {
+ "$ref": "#/definitions/v1.CapacityRequirements",
+ "description": "Capacity define resource requirements against each capacity.\n\nIf this field is unset and the device supports multiple allocations, the default value will be applied to each capacity according to requestPolicy. For the capacity that has no requestPolicy, default is the full capacity value.\n\nApplies to each device allocation. If Count > 1, the request fails if there aren't enough devices that meet the requirements. If AllocationMode is set to All, the request fails if there are devices that otherwise match the request, and have this capacity, with a value >= the requested amount, but which cannot be allocated to this request."
},
- "pool": {
- "description": "If pool is set, only devices in that pool are selected.\n\nAlso setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.",
+ "count": {
+ "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.",
+ "format": "int64",
+ "type": "integer"
+ },
+ "deviceClassName": {
+ "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.\n\nA DeviceClassName is required.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.",
"type": "string"
},
"selectors": {
- "description": "Selectors contains the same selection criteria as a ResourceClaim. Currently, CEL expressions are supported. All of these selectors must be satisfied.",
+ "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.",
"items": {
- "$ref": "#/definitions/v1alpha3.DeviceSelector"
+ "$ref": "#/definitions/v1.DeviceSelector"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
- }
- },
- "type": "object"
- },
- "v1alpha3.DeviceToleration": {
- "description": "The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple using the matching operator .",
- "properties": {
- "effect": {
- "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.",
- "type": "string"
- },
- "key": {
- "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. Must be a label name.",
- "type": "string"
},
- "operator": {
- "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 ResourceClaim can tolerate all taints of a particular category.",
- "type": "string"
- },
- "tolerationSeconds": {
- "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. If larger than zero, the time when the pod needs to be evicted is calculated as + .",
- "format": "int64",
- "type": "integer"
- },
- "value": {
- "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.",
- "type": "string"
+ "tolerations": {
+ "description": "If specified, the request's tolerations.\n\nTolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.\n\nIn addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1.DeviceToleration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
+ "required": [
+ "deviceClassName"
+ ],
"type": "object"
},
- "v1alpha3.NetworkDeviceData": {
+ "v1.NetworkDeviceData": {
"description": "NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.",
"properties": {
"hardwareAddress": {
@@ -15744,7 +16046,7 @@
"type": "string"
},
"ips": {
- "description": "IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6.\n\nMust not contain more than 16 entries.",
+ "description": "IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6.",
"items": {
"type": "string"
},
@@ -15754,7 +16056,7 @@
},
"type": "object"
},
- "v1alpha3.OpaqueDeviceConfiguration": {
+ "v1.OpaqueDeviceConfiguration": {
"description": "OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.",
"properties": {
"driver": {
@@ -15772,7 +16074,7 @@
],
"type": "object"
},
- "v1alpha3.ResourceClaim": {
+ "resource.v1.ResourceClaim": {
"description": "ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
"properties": {
"apiVersion": {
@@ -15788,11 +16090,11 @@
"description": "Standard object metadata"
},
"spec": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimSpec",
+ "$ref": "#/definitions/v1.ResourceClaimSpec",
"description": "Spec describes what is being requested and how to configure it. The spec is immutable."
},
"status": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimStatus",
+ "$ref": "#/definitions/v1.ResourceClaimStatus",
"description": "Status describes whether the claim is ready to use and what has been allocated."
}
},
@@ -15804,11 +16106,11 @@
{
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1"
}
]
},
- "v1alpha3.ResourceClaimConsumerReference": {
+ "v1.ResourceClaimConsumerReference": {
"description": "ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.",
"properties": {
"apiGroup": {
@@ -15835,7 +16137,7 @@
],
"type": "object"
},
- "v1alpha3.ResourceClaimList": {
+ "v1.ResourceClaimList": {
"description": "ResourceClaimList is a collection of claims.",
"properties": {
"apiVersion": {
@@ -15845,7 +16147,7 @@
"items": {
"description": "Items is the list of resource claims.",
"items": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
},
"type": "array"
},
@@ -15866,44 +16168,45 @@
{
"group": "resource.k8s.io",
"kind": "ResourceClaimList",
- "version": "v1alpha3"
+ "version": "v1"
}
]
},
- "v1alpha3.ResourceClaimSpec": {
+ "v1.ResourceClaimSpec": {
"description": "ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.",
"properties": {
"devices": {
- "$ref": "#/definitions/v1alpha3.DeviceClaim",
+ "$ref": "#/definitions/v1.DeviceClaim",
"description": "Devices defines how to request devices."
}
},
"type": "object"
},
- "v1alpha3.ResourceClaimStatus": {
+ "v1.ResourceClaimStatus": {
"description": "ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.",
"properties": {
"allocation": {
- "$ref": "#/definitions/v1alpha3.AllocationResult",
+ "$ref": "#/definitions/v1.AllocationResult",
"description": "Allocation is set once the claim has been allocated successfully."
},
"devices": {
"description": "Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers.",
"items": {
- "$ref": "#/definitions/v1alpha3.AllocatedDeviceStatus"
+ "$ref": "#/definitions/v1.AllocatedDeviceStatus"
},
"type": "array",
"x-kubernetes-list-map-keys": [
"driver",
"device",
- "pool"
+ "pool",
+ "shareID"
],
"x-kubernetes-list-type": "map"
},
"reservedFor": {
"description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.\n\nIn a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.\n\nBoth schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.\n\nThere can be at most 256 such reservations. This may get increased in the future, but not reduced.",
"items": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimConsumerReference"
+ "$ref": "#/definitions/v1.ResourceClaimConsumerReference"
},
"type": "array",
"x-kubernetes-list-map-keys": [
@@ -15916,7 +16219,7 @@
},
"type": "object"
},
- "v1alpha3.ResourceClaimTemplate": {
+ "v1.ResourceClaimTemplate": {
"description": "ResourceClaimTemplate is used to produce ResourceClaim objects.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
"properties": {
"apiVersion": {
@@ -15932,7 +16235,7 @@
"description": "Standard object metadata"
},
"spec": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplateSpec",
+ "$ref": "#/definitions/v1.ResourceClaimTemplateSpec",
"description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore."
}
},
@@ -15944,11 +16247,11 @@
{
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1alpha3"
+ "version": "v1"
}
]
},
- "v1alpha3.ResourceClaimTemplateList": {
+ "v1.ResourceClaimTemplateList": {
"description": "ResourceClaimTemplateList is a collection of claim templates.",
"properties": {
"apiVersion": {
@@ -15958,7 +16261,7 @@
"items": {
"description": "Items is the list of resource claim templates.",
"items": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
},
"type": "array"
},
@@ -15979,11 +16282,11 @@
{
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplateList",
- "version": "v1alpha3"
+ "version": "v1"
}
]
},
- "v1alpha3.ResourceClaimTemplateSpec": {
+ "v1.ResourceClaimTemplateSpec": {
"description": "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.",
"properties": {
"metadata": {
@@ -15991,7 +16294,7 @@
"description": "ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation."
},
"spec": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimSpec",
+ "$ref": "#/definitions/v1.ResourceClaimSpec",
"description": "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here."
}
},
@@ -16000,7 +16303,7 @@
],
"type": "object"
},
- "v1alpha3.ResourcePool": {
+ "v1.ResourcePool": {
"description": "ResourcePool describes the pool that ResourceSlices belong to.",
"properties": {
"generation": {
@@ -16025,7 +16328,7 @@
],
"type": "object"
},
- "v1alpha3.ResourceSlice": {
+ "v1.ResourceSlice": {
"description": "ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.\n\nAt the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , .\n\nWhenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.\n\nWhen allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.\n\nFor resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
"properties": {
"apiVersion": {
@@ -16041,7 +16344,7 @@
"description": "Standard object metadata"
},
"spec": {
- "$ref": "#/definitions/v1alpha3.ResourceSliceSpec",
+ "$ref": "#/definitions/v1.ResourceSliceSpec",
"description": "Contains the information published by the driver.\n\nChanging the spec automatically increments the metadata.generation number."
}
},
@@ -16053,11 +16356,11 @@
{
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1alpha3"
+ "version": "v1"
}
]
},
- "v1alpha3.ResourceSliceList": {
+ "v1.ResourceSliceList": {
"description": "ResourceSliceList is a collection of ResourceSlices.",
"properties": {
"apiVersion": {
@@ -16067,7 +16370,7 @@
"items": {
"description": "Items is the list of resource ResourceSlices.",
"items": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1.ResourceSlice"
},
"type": "array"
},
@@ -16088,11 +16391,11 @@
{
"group": "resource.k8s.io",
"kind": "ResourceSliceList",
- "version": "v1alpha3"
+ "version": "v1"
}
]
},
- "v1alpha3.ResourceSliceSpec": {
+ "v1.ResourceSliceSpec": {
"description": "ResourceSliceSpec contains the information published by the driver in one ResourceSlice.",
"properties": {
"allNodes": {
@@ -16102,7 +16405,7 @@
"devices": {
"description": "Devices lists some or all of the devices in this pool.\n\nMust not have more than 128 entries.",
"items": {
- "$ref": "#/definitions/v1alpha3.Device"
+ "$ref": "#/definitions/v1.Device"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
@@ -16124,13 +16427,13 @@
"type": "boolean"
},
"pool": {
- "$ref": "#/definitions/v1alpha3.ResourcePool",
+ "$ref": "#/definitions/v1.ResourcePool",
"description": "Pool describes the pool that this ResourceSlice belongs to."
},
"sharedCounters": {
- "description": "SharedCounters defines a list of counter sets, each of which has a name and a list of counters available.\n\nThe names of the SharedCounters must be unique in the ResourceSlice.\n\nThe maximum number of SharedCounters is 32.",
+ "description": "SharedCounters defines a list of counter sets, each of which has a name and a list of counters available.\n\nThe names of the SharedCounters must be unique in the ResourceSlice.\n\nThe maximum number of counters in all sets is 32.",
"items": {
- "$ref": "#/definitions/v1alpha3.CounterSet"
+ "$ref": "#/definitions/v1.CounterSet"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
@@ -16142,8 +16445,172 @@
],
"type": "object"
},
+ "v1alpha3.CELDeviceSelector": {
+ "description": "CELDeviceSelector contains a CEL expression for selecting a device.",
+ "properties": {
+ "expression": {
+ "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)\n\nThe length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "expression"
+ ],
+ "type": "object"
+ },
+ "v1alpha3.DeviceSelector": {
+ "description": "DeviceSelector must have exactly one field set.",
+ "properties": {
+ "cel": {
+ "$ref": "#/definitions/v1alpha3.CELDeviceSelector",
+ "description": "CEL contains a CEL expression for selecting a device."
+ }
+ },
+ "type": "object"
+ },
+ "v1alpha3.DeviceTaint": {
+ "description": "The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.",
+ "properties": {
+ "effect": {
+ "description": "The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.",
+ "type": "string"
+ },
+ "key": {
+ "description": "The taint key to be applied to a device. Must be a label name.",
+ "type": "string"
+ },
+ "timeAdded": {
+ "description": "TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "value": {
+ "description": "The taint value corresponding to the taint key. Must be a label value.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "effect"
+ ],
+ "type": "object"
+ },
+ "v1alpha3.DeviceTaintRule": {
+ "description": "DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object metadata"
+ },
+ "spec": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRuleSpec",
+ "description": "Spec specifies the selector and one taint.\n\nChanging the spec automatically increments the metadata.generation number."
+ }
+ },
+ "required": [
+ "spec"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
+ }
+ ]
+ },
+ "v1alpha3.DeviceTaintRuleList": {
+ "description": "DeviceTaintRuleList is a collection of DeviceTaintRules.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "items": {
+ "description": "Items is the list of DeviceTaintRules.",
+ "items": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRuleList",
+ "version": "v1alpha3"
+ }
+ ]
+ },
+ "v1alpha3.DeviceTaintRuleSpec": {
+ "description": "DeviceTaintRuleSpec specifies the selector and one taint.",
+ "properties": {
+ "deviceSelector": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintSelector",
+ "description": "DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satified for a device to match. The empty selector matches all devices. Without a selector, no devices are matches."
+ },
+ "taint": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaint",
+ "description": "The taint that gets applied to matching devices."
+ }
+ },
+ "required": [
+ "taint"
+ ],
+ "type": "object"
+ },
+ "v1alpha3.DeviceTaintSelector": {
+ "description": "DeviceTaintSelector defines which device(s) a DeviceTaintRule applies to. The empty selector matches all devices. Without a selector, no devices are matched.",
+ "properties": {
+ "device": {
+ "description": "If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.\n\nSetting also driver and pool may be required to avoid ambiguity, but is not required.",
+ "type": "string"
+ },
+ "deviceClassName": {
+ "description": "If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.",
+ "type": "string"
+ },
+ "driver": {
+ "description": "If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.",
+ "type": "string"
+ },
+ "pool": {
+ "description": "If pool is set, only devices in that pool are selected.\n\nAlso setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.",
+ "type": "string"
+ },
+ "selectors": {
+ "description": "Selectors contains the same selection criteria as a ResourceClaim. Currently, CEL expressions are supported. All of these selectors must be satisfied.",
+ "items": {
+ "$ref": "#/definitions/v1alpha3.DeviceSelector"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "type": "object"
+ },
"v1beta1.AllocatedDeviceStatus": {
- "description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.",
+ "description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.\n\nThe combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices.",
"properties": {
"conditions": {
"description": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.\n\nMust not contain more than 8 entries.",
@@ -16175,6 +16642,10 @@
"pool": {
"description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.",
"type": "string"
+ },
+ "shareID": {
+ "description": "ShareID uniquely identifies an individual allocation share of the device.",
+ "type": "string"
}
},
"required": [
@@ -16187,6 +16658,11 @@
"v1beta1.AllocationResult": {
"description": "AllocationResult contains attributes of an allocated resource.",
"properties": {
+ "allocationTimestamp": {
+ "description": "AllocationTimestamp stores the time when the resources were allocated. This field is not guaranteed to be set, in which case that time is unknown.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gate.",
+ "format": "date-time",
+ "type": "string"
+ },
"devices": {
"$ref": "#/definitions/v1beta1.DeviceAllocationResult",
"description": "Devices is the result of allocating devices."
@@ -16205,6 +16681,10 @@
"description": "AllNodes indicates that all nodes have access to the device.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.",
"type": "boolean"
},
+ "allowMultipleAllocations": {
+ "description": "AllowMultipleAllocations marks whether the device is allowed to be allocated to multiple DeviceRequests.\n\nIf AllowMultipleAllocations is set to true, the device can be allocated more than once, and all of its capacity is consumable, regardless of whether the requestPolicy is defined or not.",
+ "type": "boolean"
+ },
"attributes": {
"additionalProperties": {
"$ref": "#/definitions/v1beta1.DeviceAttribute"
@@ -16212,6 +16692,26 @@
"description": "Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.",
"type": "object"
},
+ "bindingConditions": {
+ "description": "BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod.\n\nThe maximum number of binding conditions is 4.\n\nThe conditions must be a valid condition type string.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "bindingFailureConditions": {
+ "description": "BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is true, a binding failure occurred.\n\nThe maximum number of binding failure conditions is 4.\n\nThe conditions must be a valid condition type string.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "bindsToNode": {
+ "description": "BindsToNode indicates if the usage of an allocation involving this device has to be limited to exactly the node that was chosen when allocating the claim. If set to true, the scheduler will set the ResourceClaim.Status.Allocation.NodeSelector to match the node where the allocation was made.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "type": "boolean"
+ },
"capacity": {
"additionalProperties": {
"$ref": "#/definitions/v1beta1.DeviceCapacity"
@@ -16250,7 +16750,7 @@
"description": "CELDeviceSelector contains a CEL expression for selecting a device.",
"properties": {
"expression": {
- "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)\n\nThe length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.",
+ "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device\n (v1.34+ with the DRAConsumableCapacity feature enabled).\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)\n\nThe length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.",
"type": "string"
}
},
@@ -16259,6 +16759,62 @@
],
"type": "object"
},
+ "v1beta1.CapacityRequestPolicy": {
+ "description": "CapacityRequestPolicy defines how requests consume device capacity.\n\nMust not set more than one ValidRequestValues.",
+ "properties": {
+ "default": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Default specifies how much of this capacity is consumed by a request that does not contain an entry for it in DeviceRequest's Capacity."
+ },
+ "validRange": {
+ "$ref": "#/definitions/v1beta1.CapacityRequestPolicyRange",
+ "description": "ValidRange defines an acceptable quantity value range in consuming requests.\n\nIf this field is set, Default must be defined and it must fall within the defined ValidRange.\n\nIf the requested amount does not fall within the defined range, the request violates the policy, and this device cannot be allocated.\n\nIf the request doesn't contain this capacity entry, Default value is used."
+ },
+ "validValues": {
+ "description": "ValidValues defines a set of acceptable quantity values in consuming requests.\n\nMust not contain more than 10 entries. Must be sorted in ascending order.\n\nIf this field is set, Default must be defined and it must be included in ValidValues list.\n\nIf the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) \u2208 validValues), where requestedValue \u2264 max(validValues).\n\nIf the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated.",
+ "items": {
+ "$ref": "#/definitions/resource.Quantity"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "type": "object"
+ },
+ "v1beta1.CapacityRequestPolicyRange": {
+ "description": "CapacityRequestPolicyRange defines a valid range for consumable capacity values.\n\n - If the requested amount is less than Min, it is rounded up to the Min value.\n - If Step is set and the requested amount is between Min and Max but not aligned with Step,\n it will be rounded up to the next value equal to Min + (n * Step).\n - If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set).\n - If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy,\n and the device cannot be allocated.",
+ "properties": {
+ "max": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Max defines the upper limit for capacity that can be requested.\n\nMax must be less than or equal to the capacity value. Min and requestPolicy.default must be less than or equal to the maximum."
+ },
+ "min": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Min specifies the minimum capacity allowed for a consumption request.\n\nMin must be greater than or equal to zero, and less than or equal to the capacity value. requestPolicy.default must be more than or equal to the minimum."
+ },
+ "step": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Step defines the step size between valid capacity amounts within the range.\n\nMax (if set) and requestPolicy.default must be a multiple of Step. Min + Step must be less than or equal to the capacity value."
+ }
+ },
+ "required": [
+ "min"
+ ],
+ "type": "object"
+ },
+ "v1beta1.CapacityRequirements": {
+ "description": "CapacityRequirements defines the capacity requirements for a specific device request.",
+ "properties": {
+ "requests": {
+ "additionalProperties": {
+ "$ref": "#/definitions/resource.Quantity"
+ },
+ "description": "Requests represent individual device resource requests for distinct resources, all of which must be provided by the device.\n\nThis value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[]..compareTo(quantity()) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0.\n\nWhen a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value\u2014because it exceeds what the requestPolicy allows\u2014 the device is considered ineligible for allocation.\n\nFor any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity\n (i.e., the whole device is claimed).\n- If a requestPolicy is set, the default consumed capacity is determined according to that policy.\n\nIf the device allows multiple allocation, the aggregated amount across all requests must not exceed the capacity value. The consumed capacity, which may be adjusted based on the requestPolicy if defined, is recorded in the resource claim\u2019s status.devices[*].consumedCapacity field.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
"v1beta1.Counter": {
"description": "Counter describes a quantity associated with a device.",
"properties": {
@@ -16383,9 +16939,13 @@
"v1beta1.DeviceCapacity": {
"description": "DeviceCapacity describes a quantity associated with a device.",
"properties": {
+ "requestPolicy": {
+ "$ref": "#/definitions/v1beta1.CapacityRequestPolicy",
+ "description": "RequestPolicy defines how this DeviceCapacity must be consumed when the device is allowed to be shared by multiple allocations.\n\nThe Device must have allowMultipleAllocations set to true in order to set a requestPolicy.\n\nIf unset, capacity requests are unconstrained: requests can consume any amount of capacity, as long as the total consumed across all allocations does not exceed the device's defined capacity. If request is also unset, default is the full capacity value."
+ },
"value": {
"$ref": "#/definitions/resource.Quantity",
- "description": "Value defines how much of a certain device capacity is available."
+ "description": "Value defines how much of a certain capacity that device has.\n\nThis field reflects the fixed total capacity and does not change. The consumed amount is tracked separately by scheduler and does not affect this value."
}
},
"required": [
@@ -16529,6 +17089,10 @@
"type": "array",
"x-kubernetes-list-type": "atomic"
},
+ "extendedResourceName": {
+ "description": "ExtendedResourceName is the extended resource name for the devices of this class. The devices of this class can be used to satisfy a pod's extended resource requests. It has the same format as the name of a pod's extended resource. It should be unique among all the device classes in a cluster. If two device classes have the same name, then the class created later is picked to satisfy a pod's extended resource requests. If two classes are created at the same time, then the name of the class lexicographically sorted first is picked.\n\nThis is an alpha field.",
+ "type": "string"
+ },
"selectors": {
"description": "Each selector must be satisfied by a device which is claimed via this class.",
"items": {
@@ -16543,6 +17107,10 @@
"v1beta1.DeviceConstraint": {
"description": "DeviceConstraint must have exactly one field set besides Requests.",
"properties": {
+ "distinctAttribute": {
+ "description": "DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices.\n\nThis acts as the inverse of MatchAttribute.\n\nThis constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation.\n\nThis is useful for scenarios where resource requests must be fulfilled by separate physical devices. For example, a container requests two network interfaces that must be allocated from two different physical NICs.",
+ "type": "string"
+ },
"matchAttribute": {
"description": "MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.\n\nFor example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.\n\nMust include the domain qualifier.",
"type": "string"
@@ -16590,6 +17158,10 @@
"description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n At least one device must exist on the node for the allocation to succeed.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
"type": "string"
},
+ "capacity": {
+ "$ref": "#/definitions/v1beta1.CapacityRequirements",
+ "description": "Capacity define resource requirements against each capacity.\n\nIf this field is unset and the device supports multiple allocations, the default value will be applied to each capacity according to requestPolicy. For the capacity that has no requestPolicy, default is the full capacity value.\n\nApplies to each device allocation. If Count > 1, the request fails if there aren't enough devices that meet the requirements. If AllocationMode is set to All, the request fails if there are devices that otherwise match the request, and have this capacity, with a value >= the requested amount, but which cannot be allocated to this request."
+ },
"count": {
"description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.",
"format": "int64",
@@ -16640,6 +17212,29 @@
"description": "AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.",
"type": "boolean"
},
+ "bindingConditions": {
+ "description": "BindingConditions contains a copy of the BindingConditions from the corresponding ResourceSlice at the time of allocation.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "bindingFailureConditions": {
+ "description": "BindingFailureConditions contains a copy of the BindingFailureConditions from the corresponding ResourceSlice at the time of allocation.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "consumedCapacity": {
+ "additionalProperties": {
+ "$ref": "#/definitions/resource.Quantity"
+ },
+ "description": "ConsumedCapacity tracks the amount of capacity consumed per device as part of the claim request. The consumed amount may differ from the requested amount: it is rounded up to the nearest valid value based on the device\u2019s requestPolicy if applicable (i.e., may not be less than the requested amount).\n\nThe total consumed capacity for each device must not exceed the DeviceCapacity's Value.\n\nThis field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero.",
+ "type": "object"
+ },
"device": {
"description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.",
"type": "string"
@@ -16656,6 +17251,10 @@
"description": "Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format /.\n\nMultiple devices may have been allocated per request.",
"type": "string"
},
+ "shareID": {
+ "description": "ShareID uniquely identifies an individual allocation share of the device, used when the device supports multiple simultaneous allocations. It serves as an additional map key to differentiate concurrent shares of the same device.",
+ "type": "string"
+ },
"tolerations": {
"description": "A copy of all tolerations specified in the request at the time when the device got allocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
"items": {
@@ -16690,6 +17289,10 @@
"description": "AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This subrequest is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other subrequests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
"type": "string"
},
+ "capacity": {
+ "$ref": "#/definitions/v1beta1.CapacityRequirements",
+ "description": "Capacity define resource requirements against each capacity.\n\nIf this field is unset and the device supports multiple allocations, the default value will be applied to each capacity according to requestPolicy. For the capacity that has no requestPolicy, default is the full capacity value.\n\nApplies to each device allocation. If Count > 1, the request fails if there aren't enough devices that meet the requirements. If AllocationMode is set to All, the request fails if there are devices that otherwise match the request, and have this capacity, with a value >= the requested amount, but which cannot be allocated to this request."
+ },
"count": {
"description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.",
"format": "int64",
@@ -16944,7 +17547,8 @@
"x-kubernetes-list-map-keys": [
"driver",
"device",
- "pool"
+ "pool",
+ "shareID"
],
"x-kubernetes-list-type": "map"
},
@@ -17191,7 +17795,7 @@
"type": "object"
},
"v1beta2.AllocatedDeviceStatus": {
- "description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.",
+ "description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.\n\nThe combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices.",
"properties": {
"conditions": {
"description": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.\n\nMust not contain more than 8 entries.",
@@ -17223,6 +17827,10 @@
"pool": {
"description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.",
"type": "string"
+ },
+ "shareID": {
+ "description": "ShareID uniquely identifies an individual allocation share of the device.",
+ "type": "string"
}
},
"required": [
@@ -17235,6 +17843,11 @@
"v1beta2.AllocationResult": {
"description": "AllocationResult contains attributes of an allocated resource.",
"properties": {
+ "allocationTimestamp": {
+ "description": "AllocationTimestamp stores the time when the resources were allocated. This field is not guaranteed to be set, in which case that time is unknown.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gate.",
+ "format": "date-time",
+ "type": "string"
+ },
"devices": {
"$ref": "#/definitions/v1beta2.DeviceAllocationResult",
"description": "Devices is the result of allocating devices."
@@ -17250,7 +17863,7 @@
"description": "CELDeviceSelector contains a CEL expression for selecting a device.",
"properties": {
"expression": {
- "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)\n\nThe length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.",
+ "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device\n (v1.34+ with the DRAConsumableCapacity feature enabled).\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)\n\nThe length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.",
"type": "string"
}
},
@@ -17259,6 +17872,62 @@
],
"type": "object"
},
+ "v1beta2.CapacityRequestPolicy": {
+ "description": "CapacityRequestPolicy defines how requests consume device capacity.\n\nMust not set more than one ValidRequestValues.",
+ "properties": {
+ "default": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Default specifies how much of this capacity is consumed by a request that does not contain an entry for it in DeviceRequest's Capacity."
+ },
+ "validRange": {
+ "$ref": "#/definitions/v1beta2.CapacityRequestPolicyRange",
+ "description": "ValidRange defines an acceptable quantity value range in consuming requests.\n\nIf this field is set, Default must be defined and it must fall within the defined ValidRange.\n\nIf the requested amount does not fall within the defined range, the request violates the policy, and this device cannot be allocated.\n\nIf the request doesn't contain this capacity entry, Default value is used."
+ },
+ "validValues": {
+ "description": "ValidValues defines a set of acceptable quantity values in consuming requests.\n\nMust not contain more than 10 entries. Must be sorted in ascending order.\n\nIf this field is set, Default must be defined and it must be included in ValidValues list.\n\nIf the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) \u2208 validValues), where requestedValue \u2264 max(validValues).\n\nIf the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated.",
+ "items": {
+ "$ref": "#/definitions/resource.Quantity"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "type": "object"
+ },
+ "v1beta2.CapacityRequestPolicyRange": {
+ "description": "CapacityRequestPolicyRange defines a valid range for consumable capacity values.\n\n - If the requested amount is less than Min, it is rounded up to the Min value.\n - If Step is set and the requested amount is between Min and Max but not aligned with Step,\n it will be rounded up to the next value equal to Min + (n * Step).\n - If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set).\n - If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy,\n and the device cannot be allocated.",
+ "properties": {
+ "max": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Max defines the upper limit for capacity that can be requested.\n\nMax must be less than or equal to the capacity value. Min and requestPolicy.default must be less than or equal to the maximum."
+ },
+ "min": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Min specifies the minimum capacity allowed for a consumption request.\n\nMin must be greater than or equal to zero, and less than or equal to the capacity value. requestPolicy.default must be more than or equal to the minimum."
+ },
+ "step": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Step defines the step size between valid capacity amounts within the range.\n\nMax (if set) and requestPolicy.default must be a multiple of Step. Min + Step must be less than or equal to the capacity value."
+ }
+ },
+ "required": [
+ "min"
+ ],
+ "type": "object"
+ },
+ "v1beta2.CapacityRequirements": {
+ "description": "CapacityRequirements defines the capacity requirements for a specific device request.",
+ "properties": {
+ "requests": {
+ "additionalProperties": {
+ "$ref": "#/definitions/resource.Quantity"
+ },
+ "description": "Requests represent individual device resource requests for distinct resources, all of which must be provided by the device.\n\nThis value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[]..compareTo(quantity()) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0.\n\nWhen a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value\u2014because it exceeds what the requestPolicy allows\u2014 the device is considered ineligible for allocation.\n\nFor any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity\n (i.e., the whole device is claimed).\n- If a requestPolicy is set, the default consumed capacity is determined according to that policy.\n\nIf the device allows multiple allocation, the aggregated amount across all requests must not exceed the capacity value. The consumed capacity, which may be adjusted based on the requestPolicy if defined, is recorded in the resource claim\u2019s status.devices[*].consumedCapacity field.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
"v1beta2.Counter": {
"description": "Counter describes a quantity associated with a device.",
"properties": {
@@ -17300,6 +17969,10 @@
"description": "AllNodes indicates that all nodes have access to the device.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.",
"type": "boolean"
},
+ "allowMultipleAllocations": {
+ "description": "AllowMultipleAllocations marks whether the device is allowed to be allocated to multiple DeviceRequests.\n\nIf AllowMultipleAllocations is set to true, the device can be allocated more than once, and all of its capacity is consumable, regardless of whether the requestPolicy is defined or not.",
+ "type": "boolean"
+ },
"attributes": {
"additionalProperties": {
"$ref": "#/definitions/v1beta2.DeviceAttribute"
@@ -17307,6 +17980,26 @@
"description": "Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.",
"type": "object"
},
+ "bindingConditions": {
+ "description": "BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod.\n\nThe maximum number of binding conditions is 4.\n\nThe conditions must be a valid condition type string.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "bindingFailureConditions": {
+ "description": "BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is set to \"True\", a binding failure occurred.\n\nThe maximum number of binding failure conditions is 4.\n\nThe conditions must be a valid condition type string.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "bindsToNode": {
+ "description": "BindsToNode indicates if the usage of an allocation involving this device has to be limited to exactly the node that was chosen when allocating the claim. If set to true, the scheduler will set the ResourceClaim.Status.Allocation.NodeSelector to match the node where the allocation was made.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "type": "boolean"
+ },
"capacity": {
"additionalProperties": {
"$ref": "#/definitions/v1beta2.DeviceCapacity"
@@ -17421,9 +18114,13 @@
"v1beta2.DeviceCapacity": {
"description": "DeviceCapacity describes a quantity associated with a device.",
"properties": {
+ "requestPolicy": {
+ "$ref": "#/definitions/v1beta2.CapacityRequestPolicy",
+ "description": "RequestPolicy defines how this DeviceCapacity must be consumed when the device is allowed to be shared by multiple allocations.\n\nThe Device must have allowMultipleAllocations set to true in order to set a requestPolicy.\n\nIf unset, capacity requests are unconstrained: requests can consume any amount of capacity, as long as the total consumed across all allocations does not exceed the device's defined capacity. If request is also unset, default is the full capacity value."
+ },
"value": {
"$ref": "#/definitions/resource.Quantity",
- "description": "Value defines how much of a certain device capacity is available."
+ "description": "Value defines how much of a certain capacity that device has.\n\nThis field reflects the fixed total capacity and does not change. The consumed amount is tracked separately by scheduler and does not affect this value."
}
},
"required": [
@@ -17567,6 +18264,10 @@
"type": "array",
"x-kubernetes-list-type": "atomic"
},
+ "extendedResourceName": {
+ "description": "ExtendedResourceName is the extended resource name for the devices of this class. The devices of this class can be used to satisfy a pod's extended resource requests. It has the same format as the name of a pod's extended resource. It should be unique among all the device classes in a cluster. If two device classes have the same name, then the class created later is picked to satisfy a pod's extended resource requests. If two classes are created at the same time, then the name of the class lexicographically sorted first is picked.\n\nThis is an alpha field.",
+ "type": "string"
+ },
"selectors": {
"description": "Each selector must be satisfied by a device which is claimed via this class.",
"items": {
@@ -17581,6 +18282,10 @@
"v1beta2.DeviceConstraint": {
"description": "DeviceConstraint must have exactly one field set besides Requests.",
"properties": {
+ "distinctAttribute": {
+ "description": "DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices.\n\nThis acts as the inverse of MatchAttribute.\n\nThis constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation.\n\nThis is useful for scenarios where resource requests must be fulfilled by separate physical devices. For example, a container requests two network interfaces that must be allocated from two different physical NICs.",
+ "type": "string"
+ },
"matchAttribute": {
"description": "MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.\n\nFor example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.\n\nMust include the domain qualifier.",
"type": "string"
@@ -17649,6 +18354,29 @@
"description": "AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.",
"type": "boolean"
},
+ "bindingConditions": {
+ "description": "BindingConditions contains a copy of the BindingConditions from the corresponding ResourceSlice at the time of allocation.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "bindingFailureConditions": {
+ "description": "BindingFailureConditions contains a copy of the BindingFailureConditions from the corresponding ResourceSlice at the time of allocation.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "consumedCapacity": {
+ "additionalProperties": {
+ "$ref": "#/definitions/resource.Quantity"
+ },
+ "description": "ConsumedCapacity tracks the amount of capacity consumed per device as part of the claim request. The consumed amount may differ from the requested amount: it is rounded up to the nearest valid value based on the device\u2019s requestPolicy if applicable (i.e., may not be less than the requested amount).\n\nThe total consumed capacity for each device must not exceed the DeviceCapacity's Value.\n\nThis field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero.",
+ "type": "object"
+ },
"device": {
"description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.",
"type": "string"
@@ -17665,6 +18393,10 @@
"description": "Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format /.\n\nMultiple devices may have been allocated per request.",
"type": "string"
},
+ "shareID": {
+ "description": "ShareID uniquely identifies an individual allocation share of the device, used when the device supports multiple simultaneous allocations. It serves as an additional map key to differentiate concurrent shares of the same device.",
+ "type": "string"
+ },
"tolerations": {
"description": "A copy of all tolerations specified in the request at the time when the device got allocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
"items": {
@@ -17699,6 +18431,10 @@
"description": "AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This subrequest is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other subrequests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
"type": "string"
},
+ "capacity": {
+ "$ref": "#/definitions/v1beta2.CapacityRequirements",
+ "description": "Capacity define resource requirements against each capacity.\n\nIf this field is unset and the device supports multiple allocations, the default value will be applied to each capacity according to requestPolicy. For the capacity that has no requestPolicy, default is the full capacity value.\n\nApplies to each device allocation. If Count > 1, the request fails if there aren't enough devices that meet the requirements. If AllocationMode is set to All, the request fails if there are devices that otherwise match the request, and have this capacity, with a value >= the requested amount, but which cannot be allocated to this request."
+ },
"count": {
"description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.",
"format": "int64",
@@ -17800,6 +18536,10 @@
"description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n At least one device must exist on the node for the allocation to succeed.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
"type": "string"
},
+ "capacity": {
+ "$ref": "#/definitions/v1beta2.CapacityRequirements",
+ "description": "Capacity define resource requirements against each capacity.\n\nIf this field is unset and the device supports multiple allocations, the default value will be applied to each capacity according to requestPolicy. For the capacity that has no requestPolicy, default is the full capacity value.\n\nApplies to each device allocation. If Count > 1, the request fails if there aren't enough devices that meet the requirements. If AllocationMode is set to All, the request fails if there are devices that otherwise match the request, and have this capacity, with a value >= the requested amount, but which cannot be allocated to this request."
+ },
"count": {
"description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.",
"format": "int64",
@@ -17995,7 +18735,8 @@
"x-kubernetes-list-map-keys": [
"driver",
"device",
- "pool"
+ "pool",
+ "shareID"
],
"x-kubernetes-list-type": "map"
},
@@ -18392,7 +19133,7 @@
"description": "CSIDriverSpec is the specification of a CSIDriver.",
"properties": {
"attachRequired": {
- "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.\n\nThis field is immutable.",
+ "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 value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.\n\nThis field is immutable.",
"type": "boolean"
},
"fsGroupPolicy": {
@@ -18400,7 +19141,7 @@
"type": "string"
},
"nodeAllocatableUpdatePeriodSeconds": {
- "description": "nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.\n\nThis is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.\n\nThis field is mutable.",
+ "description": "nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.\n\nThis is a beta feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.\n\nThis field is mutable.",
"format": "int64",
"type": "integer"
},
@@ -18893,11 +19634,85 @@
],
"type": "object"
},
+ "v1.VolumeAttributesClass": {
+ "description": "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "driverName": {
+ "description": "Name of the CSI driver This field is immutable.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ },
+ "parameters": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.\n\nThis field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field.",
+ "type": "object"
+ }
+ },
+ "required": [
+ "driverName"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttributesClass",
+ "version": "v1"
+ }
+ ]
+ },
+ "v1.VolumeAttributesClassList": {
+ "description": "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "items": {
+ "description": "items is the list of VolumeAttributesClass objects.",
+ "items": {
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttributesClassList",
+ "version": "v1"
+ }
+ ]
+ },
"v1.VolumeError": {
"description": "VolumeError captures an error encountered during a volume operation.",
"properties": {
"errorCode": {
- "description": "errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.\n\nThis is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.",
+ "description": "errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.\n\nThis is an optional, beta field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.",
"format": "int32",
"type": "integer"
},
@@ -20458,11 +21273,6 @@
"kind": "DeleteOptions",
"version": "v1"
},
- {
- "group": "networking.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
- },
{
"group": "networking.k8s.io",
"kind": "DeleteOptions",
@@ -20508,6 +21318,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
+ {
+ "group": "resource.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1"
+ },
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@@ -21209,11 +22024,6 @@
"kind": "WatchEvent",
"version": "v1"
},
- {
- "group": "networking.k8s.io",
- "kind": "WatchEvent",
- "version": "v1alpha1"
- },
{
"group": "networking.k8s.io",
"kind": "WatchEvent",
@@ -21259,6 +22069,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
+ {
+ "group": "resource.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
@@ -21565,7 +22380,7 @@
},
"info": {
"title": "Kubernetes",
- "version": "v1.33.0"
+ "version": "v1.34.0"
},
"paths": {
"/api/": {
@@ -46099,13 +46914,13 @@
]
}
},
- "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies": {
+ "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ValidatingAdmissionPolicy",
- "operationId": "deleteCollectionValidatingAdmissionPolicy",
+ "description": "delete collection of MutatingAdmissionPolicy",
+ "operationId": "deleteCollectionMutatingAdmissionPolicy",
"parameters": [
{
"in": "body",
@@ -46229,7 +47044,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "kind": "MutatingAdmissionPolicy",
"version": "v1beta1"
},
"x-codegen-request-body-name": "body"
@@ -46238,8 +47053,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ValidatingAdmissionPolicy",
- "operationId": "listValidatingAdmissionPolicy",
+ "description": "list or watch objects of kind MutatingAdmissionPolicy",
+ "operationId": "listMutatingAdmissionPolicy",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -46325,7 +47140,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyList"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyList"
}
}
},
@@ -46338,7 +47153,7 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "kind": "MutatingAdmissionPolicy",
"version": "v1beta1"
}
},
@@ -46355,15 +47170,15 @@
"consumes": [
"application/json"
],
- "description": "create a ValidatingAdmissionPolicy",
- "operationId": "createValidatingAdmissionPolicy",
+ "description": "create a MutatingAdmissionPolicy",
+ "operationId": "createMutatingAdmissionPolicy",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
}
},
{
@@ -46398,19 +47213,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
}
}
},
@@ -46423,19 +47238,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "kind": "MutatingAdmissionPolicy",
"version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}": {
+ "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a ValidatingAdmissionPolicy",
- "operationId": "deleteValidatingAdmissionPolicy",
+ "description": "delete a MutatingAdmissionPolicy",
+ "operationId": "deleteMutatingAdmissionPolicy",
"parameters": [
{
"in": "body",
@@ -46509,222 +47324,17 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1beta1"
- },
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified ValidatingAdmissionPolicy",
- "operationId": "readValidatingAdmissionPolicy",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1beta1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1beta1"
- }
- },
- "parameters": [
- {
- "description": "name of the ValidatingAdmissionPolicy",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml",
- "application/apply-patch+cbor"
- ],
- "description": "partially update the specified ValidatingAdmissionPolicy",
- "operationId": "patchValidatingAdmissionPolicy",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "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",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1beta1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "kind": "MutatingAdmissionPolicy",
"version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified ValidatingAdmissionPolicy",
- "operationId": "replaceValidatingAdmissionPolicy",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- },
- {
- "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",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1beta1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1beta1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified ValidatingAdmissionPolicy",
- "operationId": "readValidatingAdmissionPolicyStatus",
+ "description": "read the specified MutatingAdmissionPolicy",
+ "operationId": "readMutatingAdmissionPolicy",
"produces": [
"application/json",
"application/yaml",
@@ -46735,7 +47345,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
}
}
},
@@ -46748,13 +47358,13 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "kind": "MutatingAdmissionPolicy",
"version": "v1beta1"
}
},
"parameters": [
{
- "description": "name of the ValidatingAdmissionPolicy",
+ "description": "name of the MutatingAdmissionPolicy",
"in": "path",
"name": "name",
"required": true,
@@ -46777,8 +47387,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update status of the specified ValidatingAdmissionPolicy",
- "operationId": "patchValidatingAdmissionPolicyStatus",
+ "description": "partially update the specified MutatingAdmissionPolicy",
+ "operationId": "patchMutatingAdmissionPolicy",
"parameters": [
{
"in": "body",
@@ -46827,13 +47437,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
}
}
},
@@ -46846,7 +47456,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "kind": "MutatingAdmissionPolicy",
"version": "v1beta1"
},
"x-codegen-request-body-name": "body"
@@ -46855,15 +47465,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified ValidatingAdmissionPolicy",
- "operationId": "replaceValidatingAdmissionPolicyStatus",
+ "description": "replace the specified MutatingAdmissionPolicy",
+ "operationId": "replaceMutatingAdmissionPolicy",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
}
},
{
@@ -46898,13 +47508,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
}
}
},
@@ -46917,19 +47527,19 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "kind": "MutatingAdmissionPolicy",
"version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings": {
+ "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ValidatingAdmissionPolicyBinding",
- "operationId": "deleteCollectionValidatingAdmissionPolicyBinding",
+ "description": "delete collection of MutatingAdmissionPolicyBinding",
+ "operationId": "deleteCollectionMutatingAdmissionPolicyBinding",
"parameters": [
{
"in": "body",
@@ -47053,7 +47663,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
+ "kind": "MutatingAdmissionPolicyBinding",
"version": "v1beta1"
},
"x-codegen-request-body-name": "body"
@@ -47062,8 +47672,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ValidatingAdmissionPolicyBinding",
- "operationId": "listValidatingAdmissionPolicyBinding",
+ "description": "list or watch objects of kind MutatingAdmissionPolicyBinding",
+ "operationId": "listMutatingAdmissionPolicyBinding",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -47149,7 +47759,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBindingList"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBindingList"
}
}
},
@@ -47162,7 +47772,7 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
+ "kind": "MutatingAdmissionPolicyBinding",
"version": "v1beta1"
}
},
@@ -47179,15 +47789,15 @@
"consumes": [
"application/json"
],
- "description": "create a ValidatingAdmissionPolicyBinding",
- "operationId": "createValidatingAdmissionPolicyBinding",
+ "description": "create a MutatingAdmissionPolicyBinding",
+ "operationId": "createMutatingAdmissionPolicyBinding",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
}
},
{
@@ -47222,19 +47832,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
}
}
},
@@ -47247,19 +47857,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
+ "kind": "MutatingAdmissionPolicyBinding",
"version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name}": {
+ "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a ValidatingAdmissionPolicyBinding",
- "operationId": "deleteValidatingAdmissionPolicyBinding",
+ "description": "delete a MutatingAdmissionPolicyBinding",
+ "operationId": "deleteMutatingAdmissionPolicyBinding",
"parameters": [
{
"in": "body",
@@ -47333,7 +47943,7 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
+ "kind": "MutatingAdmissionPolicyBinding",
"version": "v1beta1"
},
"x-codegen-request-body-name": "body"
@@ -47342,8 +47952,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified ValidatingAdmissionPolicyBinding",
- "operationId": "readValidatingAdmissionPolicyBinding",
+ "description": "read the specified MutatingAdmissionPolicyBinding",
+ "operationId": "readMutatingAdmissionPolicyBinding",
"produces": [
"application/json",
"application/yaml",
@@ -47354,7 +47964,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
}
}
},
@@ -47367,13 +47977,13 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
+ "kind": "MutatingAdmissionPolicyBinding",
"version": "v1beta1"
}
},
"parameters": [
{
- "description": "name of the ValidatingAdmissionPolicyBinding",
+ "description": "name of the MutatingAdmissionPolicyBinding",
"in": "path",
"name": "name",
"required": true,
@@ -47396,8 +48006,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified ValidatingAdmissionPolicyBinding",
- "operationId": "patchValidatingAdmissionPolicyBinding",
+ "description": "partially update the specified MutatingAdmissionPolicyBinding",
+ "operationId": "patchMutatingAdmissionPolicyBinding",
"parameters": [
{
"in": "body",
@@ -47446,13 +48056,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
}
}
},
@@ -47465,7 +48075,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
+ "kind": "MutatingAdmissionPolicyBinding",
"version": "v1beta1"
},
"x-codegen-request-body-name": "body"
@@ -47474,15 +48084,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified ValidatingAdmissionPolicyBinding",
- "operationId": "replaceValidatingAdmissionPolicyBinding",
+ "description": "replace the specified MutatingAdmissionPolicyBinding",
+ "operationId": "replaceMutatingAdmissionPolicyBinding",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
}
},
{
@@ -47517,13 +48127,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
}
}
},
@@ -47536,13 +48146,13 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
+ "kind": "MutatingAdmissionPolicyBinding",
"version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingadmissionpolicies": {
+ "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingadmissionpolicies": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -47623,7 +48233,7 @@
}
]
},
- "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingadmissionpolicies/{name}": {
+ "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingadmissionpolicies/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -47661,7 +48271,7 @@
"uniqueItems": true
},
{
- "description": "name of the ValidatingAdmissionPolicy",
+ "description": "name of the MutatingAdmissionPolicy",
"in": "path",
"name": "name",
"required": true,
@@ -47712,7 +48322,7 @@
}
]
},
- "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingadmissionpolicybindings": {
+ "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingadmissionpolicybindings": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -47793,7 +48403,7 @@
}
]
},
- "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingadmissionpolicybindings/{name}": {
+ "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingadmissionpolicybindings/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -47831,7 +48441,7 @@
"uniqueItems": true
},
{
- "description": "name of the ValidatingAdmissionPolicyBinding",
+ "description": "name of the MutatingAdmissionPolicyBinding",
"in": "path",
"name": "name",
"required": true,
@@ -64298,215 +64908,13 @@
"x-codegen-request-body-name": "body"
}
},
- "/apis/certificates.k8s.io/v1alpha1/watch/clustertrustbundles": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/certificates.k8s.io/v1alpha1/watch/clustertrustbundles/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the ClusterTrustBundle",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/certificates.k8s.io/v1beta1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "certificates_v1beta1"
- ]
- }
- },
- "/apis/certificates.k8s.io/v1beta1/clustertrustbundles": {
+ "/apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ClusterTrustBundle",
- "operationId": "deleteCollectionClusterTrustBundle",
+ "description": "delete collection of PodCertificateRequest",
+ "operationId": "deleteCollectionNamespacedPodCertificateRequest",
"parameters": [
{
"in": "body",
@@ -64625,13 +65033,13 @@
"https"
],
"tags": [
- "certificates_v1beta1"
+ "certificates_v1alpha1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "certificates.k8s.io",
- "kind": "ClusterTrustBundle",
- "version": "v1beta1"
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
},
@@ -64639,8 +65047,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ClusterTrustBundle",
- "operationId": "listClusterTrustBundle",
+ "description": "list or watch objects of kind PodCertificateRequest",
+ "operationId": "listNamespacedPodCertificateRequest",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -64726,7 +65134,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ClusterTrustBundleList"
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequestList"
}
}
},
@@ -64734,16 +65142,24 @@
"https"
],
"tags": [
- "certificates_v1beta1"
+ "certificates_v1alpha1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "certificates.k8s.io",
- "kind": "ClusterTrustBundle",
- "version": "v1beta1"
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -64756,15 +65172,15 @@
"consumes": [
"application/json"
],
- "description": "create a ClusterTrustBundle",
- "operationId": "createClusterTrustBundle",
+ "description": "create a PodCertificateRequest",
+ "operationId": "createNamespacedPodCertificateRequest",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
}
},
{
@@ -64799,19 +65215,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
}
}
},
@@ -64819,24 +65235,24 @@
"https"
],
"tags": [
- "certificates_v1beta1"
+ "certificates_v1alpha1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "certificates.k8s.io",
- "kind": "ClusterTrustBundle",
- "version": "v1beta1"
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/certificates.k8s.io/v1beta1/clustertrustbundles/{name}": {
+ "/apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a ClusterTrustBundle",
- "operationId": "deleteClusterTrustBundle",
+ "description": "delete a PodCertificateRequest",
+ "operationId": "deleteNamespacedPodCertificateRequest",
"parameters": [
{
"in": "body",
@@ -64905,13 +65321,13 @@
"https"
],
"tags": [
- "certificates_v1beta1"
+ "certificates_v1alpha1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "certificates.k8s.io",
- "kind": "ClusterTrustBundle",
- "version": "v1beta1"
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
},
@@ -64919,8 +65335,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified ClusterTrustBundle",
- "operationId": "readClusterTrustBundle",
+ "description": "read the specified PodCertificateRequest",
+ "operationId": "readNamespacedPodCertificateRequest",
"produces": [
"application/json",
"application/yaml",
@@ -64931,7 +65347,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
}
}
},
@@ -64939,24 +65355,32 @@
"https"
],
"tags": [
- "certificates_v1beta1"
+ "certificates_v1alpha1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "certificates.k8s.io",
- "kind": "ClusterTrustBundle",
- "version": "v1beta1"
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
}
},
"parameters": [
{
- "description": "name of the ClusterTrustBundle",
+ "description": "name of the PodCertificateRequest",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -64973,8 +65397,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified ClusterTrustBundle",
- "operationId": "patchClusterTrustBundle",
+ "description": "partially update the specified PodCertificateRequest",
+ "operationId": "patchNamespacedPodCertificateRequest",
"parameters": [
{
"in": "body",
@@ -65023,13 +65447,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
}
}
},
@@ -65037,13 +65461,13 @@
"https"
],
"tags": [
- "certificates_v1beta1"
+ "certificates_v1alpha1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "certificates.k8s.io",
- "kind": "ClusterTrustBundle",
- "version": "v1beta1"
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
},
@@ -65051,15 +65475,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified ClusterTrustBundle",
- "operationId": "replaceClusterTrustBundle",
+ "description": "replace the specified PodCertificateRequest",
+ "operationId": "replaceNamespacedPodCertificateRequest",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
}
},
{
@@ -65094,13 +65518,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
}
}
},
@@ -65108,18 +65532,267 @@
"https"
],
"tags": [
- "certificates_v1beta1"
+ "certificates_v1alpha1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "certificates.k8s.io",
- "kind": "ClusterTrustBundle",
- "version": "v1beta1"
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/certificates.k8s.io/v1beta1/watch/clustertrustbundles": {
+ "/apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified PodCertificateRequest",
+ "operationId": "readNamespacedPodCertificateRequestStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1alpha1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the PodCertificateRequest",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified PodCertificateRequest",
+ "operationId": "patchNamespacedPodCertificateRequestStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1alpha1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified PodCertificateRequest",
+ "operationId": "replaceNamespacedPodCertificateRequestStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1alpha1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/certificates.k8s.io/v1alpha1/podcertificaterequests": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind PodCertificateRequest",
+ "operationId": "listPodCertificateRequestForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequestList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1alpha1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
+ }
+ },
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -65200,7 +65873,88 @@
}
]
},
- "/apis/certificates.k8s.io/v1beta1/watch/clustertrustbundles/{name}": {
+ "/apis/certificates.k8s.io/v1alpha1/watch/clustertrustbundles": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/certificates.k8s.io/v1alpha1/watch/clustertrustbundles/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -65289,105 +66043,7 @@
}
]
},
- "/apis/coordination.k8s.io/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "coordination"
- ]
- }
- },
- "/apis/coordination.k8s.io/v1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "coordination_v1"
- ]
- }
- },
- "/apis/coordination.k8s.io/v1/leases": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind Lease",
- "operationId": "listLeaseForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch",
- "application/cbor-seq"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.LeaseList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "coordination_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
- }
- },
+ "/apis/certificates.k8s.io/v1alpha1/watch/namespaces/{namespace}/podcertificaterequests": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -65424,6 +66080,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -65468,47 +66132,257 @@
}
]
},
- "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete collection of Lease",
- "operationId": "deleteCollectionNamespacedLease",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "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",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "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.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
+ "/apis/certificates.k8s.io/v1alpha1/watch/namespaces/{namespace}/podcertificaterequests/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the PodCertificateRequest",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/certificates.k8s.io/v1alpha1/watch/podcertificaterequests": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/certificates.k8s.io/v1beta1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1beta1"
+ ]
+ }
+ },
+ "/apis/certificates.k8s.io/v1beta1/clustertrustbundles": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of ClusterTrustBundle",
+ "operationId": "deleteCollectionClusterTrustBundle",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "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.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
"uniqueItems": true
},
{
@@ -65593,13 +66467,13 @@
"https"
],
"tags": [
- "coordination_v1"
+ "certificates_v1beta1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -65607,8 +66481,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Lease",
- "operationId": "listNamespacedLease",
+ "description": "list or watch objects of kind ClusterTrustBundle",
+ "operationId": "listClusterTrustBundle",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -65694,7 +66568,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.LeaseList"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundleList"
}
}
},
@@ -65702,24 +66576,16 @@
"https"
],
"tags": [
- "coordination_v1"
+ "certificates_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
}
},
"parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -65732,15 +66598,15 @@
"consumes": [
"application/json"
],
- "description": "create a Lease",
- "operationId": "createNamespacedLease",
+ "description": "create a ClusterTrustBundle",
+ "operationId": "createClusterTrustBundle",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
},
{
@@ -65775,19 +66641,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
}
},
@@ -65795,24 +66661,24 @@
"https"
],
"tags": [
- "coordination_v1"
+ "certificates_v1beta1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}": {
+ "/apis/certificates.k8s.io/v1beta1/clustertrustbundles/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a Lease",
- "operationId": "deleteNamespacedLease",
+ "description": "delete a ClusterTrustBundle",
+ "operationId": "deleteClusterTrustBundle",
"parameters": [
{
"in": "body",
@@ -65881,13 +66747,13 @@
"https"
],
"tags": [
- "coordination_v1"
+ "certificates_v1beta1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -65895,8 +66761,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified Lease",
- "operationId": "readNamespacedLease",
+ "description": "read the specified ClusterTrustBundle",
+ "operationId": "readClusterTrustBundle",
"produces": [
"application/json",
"application/yaml",
@@ -65907,7 +66773,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
}
},
@@ -65915,32 +66781,24 @@
"https"
],
"tags": [
- "coordination_v1"
+ "certificates_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
}
},
"parameters": [
{
- "description": "name of the Lease",
+ "description": "name of the ClusterTrustBundle",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -65957,8 +66815,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified Lease",
- "operationId": "patchNamespacedLease",
+ "description": "partially update the specified ClusterTrustBundle",
+ "operationId": "patchClusterTrustBundle",
"parameters": [
{
"in": "body",
@@ -66007,13 +66865,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
}
},
@@ -66021,13 +66879,13 @@
"https"
],
"tags": [
- "coordination_v1"
+ "certificates_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -66035,15 +66893,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified Lease",
- "operationId": "replaceNamespacedLease",
+ "description": "replace the specified ClusterTrustBundle",
+ "operationId": "replaceClusterTrustBundle",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
},
{
@@ -66078,13 +66936,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
}
}
},
@@ -66092,18 +66950,18 @@
"https"
],
"tags": [
- "coordination_v1"
+ "certificates_v1beta1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/coordination.k8s.io/v1/watch/leases": {
+ "/apis/certificates.k8s.io/v1beta1/watch/clustertrustbundles": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -66184,7 +67042,7 @@
}
]
},
- "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases": {
+ "/apis/certificates.k8s.io/v1beta1/watch/clustertrustbundles/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -66222,9 +67080,9 @@
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
+ "description": "name of the ClusterTrustBundle",
"in": "path",
- "name": "namespace",
+ "name": "name",
"required": true,
"type": "string",
"uniqueItems": true
@@ -66273,104 +67131,37 @@
}
]
},
- "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the Lease",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "/apis/coordination.k8s.io/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "coordination"
+ ]
+ }
},
- "/apis/coordination.k8s.io/v1alpha2/": {
+ "/apis/coordination.k8s.io/v1/": {
"get": {
"consumes": [
"application/json",
@@ -66398,17 +67189,17 @@
"https"
],
"tags": [
- "coordination_v1alpha2"
+ "coordination_v1"
]
}
},
- "/apis/coordination.k8s.io/v1alpha2/leasecandidates": {
+ "/apis/coordination.k8s.io/v1/leases": {
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind LeaseCandidate",
- "operationId": "listLeaseCandidateForAllNamespaces",
+ "description": "list or watch objects of kind Lease",
+ "operationId": "listLeaseForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
@@ -66422,7 +67213,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidateList"
+ "$ref": "#/definitions/v1.LeaseList"
}
}
},
@@ -66430,13 +67221,13 @@
"https"
],
"tags": [
- "coordination_v1alpha2"
+ "coordination_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
- "kind": "LeaseCandidate",
- "version": "v1alpha2"
+ "kind": "Lease",
+ "version": "v1"
}
},
"parameters": [
@@ -66519,13 +67310,13 @@
}
]
},
- "/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates": {
+ "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of LeaseCandidate",
- "operationId": "deleteCollectionNamespacedLeaseCandidate",
+ "description": "delete collection of Lease",
+ "operationId": "deleteCollectionNamespacedLease",
"parameters": [
{
"in": "body",
@@ -66644,13 +67435,13 @@
"https"
],
"tags": [
- "coordination_v1alpha2"
+ "coordination_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
- "kind": "LeaseCandidate",
- "version": "v1alpha2"
+ "kind": "Lease",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -66658,8 +67449,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind LeaseCandidate",
- "operationId": "listNamespacedLeaseCandidate",
+ "description": "list or watch objects of kind Lease",
+ "operationId": "listNamespacedLease",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -66745,7 +67536,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidateList"
+ "$ref": "#/definitions/v1.LeaseList"
}
}
},
@@ -66753,13 +67544,13 @@
"https"
],
"tags": [
- "coordination_v1alpha2"
+ "coordination_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
- "kind": "LeaseCandidate",
- "version": "v1alpha2"
+ "kind": "Lease",
+ "version": "v1"
}
},
"parameters": [
@@ -66783,15 +67574,15 @@
"consumes": [
"application/json"
],
- "description": "create a LeaseCandidate",
- "operationId": "createNamespacedLeaseCandidate",
+ "description": "create a Lease",
+ "operationId": "createNamespacedLease",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
},
{
@@ -66826,19 +67617,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
}
},
@@ -66846,24 +67637,24 @@
"https"
],
"tags": [
- "coordination_v1alpha2"
+ "coordination_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
- "kind": "LeaseCandidate",
- "version": "v1alpha2"
+ "kind": "Lease",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name}": {
+ "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a LeaseCandidate",
- "operationId": "deleteNamespacedLeaseCandidate",
+ "description": "delete a Lease",
+ "operationId": "deleteNamespacedLease",
"parameters": [
{
"in": "body",
@@ -66932,13 +67723,13 @@
"https"
],
"tags": [
- "coordination_v1alpha2"
+ "coordination_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
- "kind": "LeaseCandidate",
- "version": "v1alpha2"
+ "kind": "Lease",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -66946,8 +67737,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified LeaseCandidate",
- "operationId": "readNamespacedLeaseCandidate",
+ "description": "read the specified Lease",
+ "operationId": "readNamespacedLease",
"produces": [
"application/json",
"application/yaml",
@@ -66958,7 +67749,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
}
},
@@ -66966,18 +67757,18 @@
"https"
],
"tags": [
- "coordination_v1alpha2"
+ "coordination_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
- "kind": "LeaseCandidate",
- "version": "v1alpha2"
+ "kind": "Lease",
+ "version": "v1"
}
},
"parameters": [
{
- "description": "name of the LeaseCandidate",
+ "description": "name of the Lease",
"in": "path",
"name": "name",
"required": true,
@@ -67008,8 +67799,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified LeaseCandidate",
- "operationId": "patchNamespacedLeaseCandidate",
+ "description": "partially update the specified Lease",
+ "operationId": "patchNamespacedLease",
"parameters": [
{
"in": "body",
@@ -67058,13 +67849,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
}
},
@@ -67072,13 +67863,13 @@
"https"
],
"tags": [
- "coordination_v1alpha2"
+ "coordination_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
- "kind": "LeaseCandidate",
- "version": "v1alpha2"
+ "kind": "Lease",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -67086,15 +67877,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified LeaseCandidate",
- "operationId": "replaceNamespacedLeaseCandidate",
+ "description": "replace the specified Lease",
+ "operationId": "replaceNamespacedLease",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
},
{
@@ -67129,13 +67920,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ "$ref": "#/definitions/v1.Lease"
}
}
},
@@ -67143,18 +67934,18 @@
"https"
],
"tags": [
- "coordination_v1alpha2"
+ "coordination_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
- "kind": "LeaseCandidate",
- "version": "v1alpha2"
+ "kind": "Lease",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/coordination.k8s.io/v1alpha2/watch/leasecandidates": {
+ "/apis/coordination.k8s.io/v1/watch/leases": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -67235,7 +68026,7 @@
}
]
},
- "/apis/coordination.k8s.io/v1alpha2/watch/namespaces/{namespace}/leasecandidates": {
+ "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -67324,7 +68115,7 @@
}
]
},
- "/apis/coordination.k8s.io/v1alpha2/watch/namespaces/{namespace}/leasecandidates/{name}": {
+ "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -67362,7 +68153,7 @@
"uniqueItems": true
},
{
- "description": "name of the LeaseCandidate",
+ "description": "name of the Lease",
"in": "path",
"name": "name",
"required": true,
@@ -67421,7 +68212,7 @@
}
]
},
- "/apis/coordination.k8s.io/v1beta1/": {
+ "/apis/coordination.k8s.io/v1alpha2/": {
"get": {
"consumes": [
"application/json",
@@ -67449,11 +68240,11 @@
"https"
],
"tags": [
- "coordination_v1beta1"
+ "coordination_v1alpha2"
]
}
},
- "/apis/coordination.k8s.io/v1beta1/leasecandidates": {
+ "/apis/coordination.k8s.io/v1alpha2/leasecandidates": {
"get": {
"consumes": [
"application/json"
@@ -67473,7 +68264,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.LeaseCandidateList"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidateList"
}
}
},
@@ -67481,13 +68272,13 @@
"https"
],
"tags": [
- "coordination_v1beta1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
"kind": "LeaseCandidate",
- "version": "v1beta1"
+ "version": "v1alpha2"
}
},
"parameters": [
@@ -67570,7 +68361,7 @@
}
]
},
- "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates": {
+ "/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates": {
"delete": {
"consumes": [
"application/json"
@@ -67695,13 +68486,13 @@
"https"
],
"tags": [
- "coordination_v1beta1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
"kind": "LeaseCandidate",
- "version": "v1beta1"
+ "version": "v1alpha2"
},
"x-codegen-request-body-name": "body"
},
@@ -67796,7 +68587,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.LeaseCandidateList"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidateList"
}
}
},
@@ -67804,13 +68595,13 @@
"https"
],
"tags": [
- "coordination_v1beta1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
"kind": "LeaseCandidate",
- "version": "v1beta1"
+ "version": "v1alpha2"
}
},
"parameters": [
@@ -67842,7 +68633,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.LeaseCandidate"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
},
{
@@ -67877,19 +68668,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.LeaseCandidate"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.LeaseCandidate"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1beta1.LeaseCandidate"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
}
},
@@ -67897,18 +68688,18 @@
"https"
],
"tags": [
- "coordination_v1beta1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
"kind": "LeaseCandidate",
- "version": "v1beta1"
+ "version": "v1alpha2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates/{name}": {
+ "/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name}": {
"delete": {
"consumes": [
"application/json"
@@ -67983,13 +68774,13 @@
"https"
],
"tags": [
- "coordination_v1beta1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
"kind": "LeaseCandidate",
- "version": "v1beta1"
+ "version": "v1alpha2"
},
"x-codegen-request-body-name": "body"
},
@@ -68009,7 +68800,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.LeaseCandidate"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
}
},
@@ -68017,13 +68808,13 @@
"https"
],
"tags": [
- "coordination_v1beta1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
"kind": "LeaseCandidate",
- "version": "v1beta1"
+ "version": "v1alpha2"
}
},
"parameters": [
@@ -68109,13 +68900,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.LeaseCandidate"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.LeaseCandidate"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
}
},
@@ -68123,13 +68914,13 @@
"https"
],
"tags": [
- "coordination_v1beta1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
"kind": "LeaseCandidate",
- "version": "v1beta1"
+ "version": "v1alpha2"
},
"x-codegen-request-body-name": "body"
},
@@ -68145,7 +68936,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.LeaseCandidate"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
},
{
@@ -68180,13 +68971,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.LeaseCandidate"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.LeaseCandidate"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
}
},
@@ -68194,18 +68985,18 @@
"https"
],
"tags": [
- "coordination_v1beta1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "coordination.k8s.io",
"kind": "LeaseCandidate",
- "version": "v1beta1"
+ "version": "v1alpha2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/coordination.k8s.io/v1beta1/watch/leasecandidates": {
+ "/apis/coordination.k8s.io/v1alpha2/watch/leasecandidates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -68286,7 +69077,7 @@
}
]
},
- "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leasecandidates": {
+ "/apis/coordination.k8s.io/v1alpha2/watch/namespaces/{namespace}/leasecandidates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -68375,7 +69166,7 @@
}
]
},
- "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leasecandidates/{name}": {
+ "/apis/coordination.k8s.io/v1alpha2/watch/namespaces/{namespace}/leasecandidates/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -68472,37 +69263,7 @@
}
]
},
- "/apis/discovery.k8s.io/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "discovery"
- ]
- }
- },
- "/apis/discovery.k8s.io/v1/": {
+ "/apis/coordination.k8s.io/v1beta1/": {
"get": {
"consumes": [
"application/json",
@@ -68530,17 +69291,17 @@
"https"
],
"tags": [
- "discovery_v1"
+ "coordination_v1beta1"
]
}
},
- "/apis/discovery.k8s.io/v1/endpointslices": {
+ "/apis/coordination.k8s.io/v1beta1/leasecandidates": {
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind EndpointSlice",
- "operationId": "listEndpointSliceForAllNamespaces",
+ "description": "list or watch objects of kind LeaseCandidate",
+ "operationId": "listLeaseCandidateForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
@@ -68554,7 +69315,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.EndpointSliceList"
+ "$ref": "#/definitions/v1beta1.LeaseCandidateList"
}
}
},
@@ -68562,13 +69323,13 @@
"https"
],
"tags": [
- "discovery_v1"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
}
},
"parameters": [
@@ -68651,13 +69412,13 @@
}
]
},
- "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices": {
+ "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of EndpointSlice",
- "operationId": "deleteCollectionNamespacedEndpointSlice",
+ "description": "delete collection of LeaseCandidate",
+ "operationId": "deleteCollectionNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
@@ -68776,13 +69537,13 @@
"https"
],
"tags": [
- "discovery_v1"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -68790,8 +69551,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind EndpointSlice",
- "operationId": "listNamespacedEndpointSlice",
+ "description": "list or watch objects of kind LeaseCandidate",
+ "operationId": "listNamespacedLeaseCandidate",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -68877,7 +69638,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.EndpointSliceList"
+ "$ref": "#/definitions/v1beta1.LeaseCandidateList"
}
}
},
@@ -68885,13 +69646,13 @@
"https"
],
"tags": [
- "discovery_v1"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
}
},
"parameters": [
@@ -68915,15 +69676,15 @@
"consumes": [
"application/json"
],
- "description": "create an EndpointSlice",
- "operationId": "createNamespacedEndpointSlice",
+ "description": "create a LeaseCandidate",
+ "operationId": "createNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
},
{
@@ -68958,19 +69719,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
}
},
@@ -68978,24 +69739,24 @@
"https"
],
"tags": [
- "discovery_v1"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}": {
+ "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete an EndpointSlice",
- "operationId": "deleteNamespacedEndpointSlice",
+ "description": "delete a LeaseCandidate",
+ "operationId": "deleteNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
@@ -69064,13 +69825,13 @@
"https"
],
"tags": [
- "discovery_v1"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -69078,8 +69839,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified EndpointSlice",
- "operationId": "readNamespacedEndpointSlice",
+ "description": "read the specified LeaseCandidate",
+ "operationId": "readNamespacedLeaseCandidate",
"produces": [
"application/json",
"application/yaml",
@@ -69090,7 +69851,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
}
},
@@ -69098,18 +69859,18 @@
"https"
],
"tags": [
- "discovery_v1"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
}
},
"parameters": [
{
- "description": "name of the EndpointSlice",
+ "description": "name of the LeaseCandidate",
"in": "path",
"name": "name",
"required": true,
@@ -69140,8 +69901,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified EndpointSlice",
- "operationId": "patchNamespacedEndpointSlice",
+ "description": "partially update the specified LeaseCandidate",
+ "operationId": "patchNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
@@ -69190,13 +69951,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
}
},
@@ -69204,13 +69965,13 @@
"https"
],
"tags": [
- "discovery_v1"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -69218,15 +69979,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified EndpointSlice",
- "operationId": "replaceNamespacedEndpointSlice",
+ "description": "replace the specified LeaseCandidate",
+ "operationId": "replaceNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
},
{
@@ -69261,13 +70022,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
}
},
@@ -69275,18 +70036,18 @@
"https"
],
"tags": [
- "discovery_v1"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/discovery.k8s.io/v1/watch/endpointslices": {
+ "/apis/coordination.k8s.io/v1beta1/watch/leasecandidates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -69367,7 +70128,7 @@
}
]
},
- "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices": {
+ "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leasecandidates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -69456,7 +70217,7 @@
}
]
},
- "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices/{name}": {
+ "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leasecandidates/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -69494,7 +70255,7 @@
"uniqueItems": true
},
{
- "description": "name of the EndpointSlice",
+ "description": "name of the LeaseCandidate",
"in": "path",
"name": "name",
"required": true,
@@ -69553,7 +70314,7 @@
}
]
},
- "/apis/events.k8s.io/": {
+ "/apis/discovery.k8s.io/": {
"get": {
"consumes": [
"application/json",
@@ -69579,11 +70340,11 @@
"https"
],
"tags": [
- "events"
+ "discovery"
]
}
},
- "/apis/events.k8s.io/v1/": {
+ "/apis/discovery.k8s.io/v1/": {
"get": {
"consumes": [
"application/json",
@@ -69611,17 +70372,17 @@
"https"
],
"tags": [
- "events_v1"
+ "discovery_v1"
]
}
},
- "/apis/events.k8s.io/v1/events": {
+ "/apis/discovery.k8s.io/v1/endpointslices": {
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Event",
- "operationId": "listEventForAllNamespaces",
+ "description": "list or watch objects of kind EndpointSlice",
+ "operationId": "listEndpointSliceForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
@@ -69635,7 +70396,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/events.v1.EventList"
+ "$ref": "#/definitions/v1.EndpointSliceList"
}
}
},
@@ -69643,12 +70404,12 @@
"https"
],
"tags": [
- "events_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
}
},
@@ -69732,13 +70493,13 @@
}
]
},
- "/apis/events.k8s.io/v1/namespaces/{namespace}/events": {
+ "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of Event",
- "operationId": "deleteCollectionNamespacedEvent",
+ "description": "delete collection of EndpointSlice",
+ "operationId": "deleteCollectionNamespacedEndpointSlice",
"parameters": [
{
"in": "body",
@@ -69857,12 +70618,12 @@
"https"
],
"tags": [
- "events_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -69871,8 +70632,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Event",
- "operationId": "listNamespacedEvent",
+ "description": "list or watch objects of kind EndpointSlice",
+ "operationId": "listNamespacedEndpointSlice",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -69958,7 +70719,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/events.v1.EventList"
+ "$ref": "#/definitions/v1.EndpointSliceList"
}
}
},
@@ -69966,12 +70727,12 @@
"https"
],
"tags": [
- "events_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
}
},
@@ -69996,15 +70757,15 @@
"consumes": [
"application/json"
],
- "description": "create an Event",
- "operationId": "createNamespacedEvent",
+ "description": "create an EndpointSlice",
+ "operationId": "createNamespacedEndpointSlice",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
},
{
@@ -70039,19 +70800,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
}
},
@@ -70059,24 +70820,24 @@
"https"
],
"tags": [
- "events_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}": {
+ "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete an Event",
- "operationId": "deleteNamespacedEvent",
+ "description": "delete an EndpointSlice",
+ "operationId": "deleteNamespacedEndpointSlice",
"parameters": [
{
"in": "body",
@@ -70145,12 +70906,12 @@
"https"
],
"tags": [
- "events_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -70159,8 +70920,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified Event",
- "operationId": "readNamespacedEvent",
+ "description": "read the specified EndpointSlice",
+ "operationId": "readNamespacedEndpointSlice",
"produces": [
"application/json",
"application/yaml",
@@ -70171,7 +70932,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
}
},
@@ -70179,18 +70940,18 @@
"https"
],
"tags": [
- "events_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the Event",
+ "description": "name of the EndpointSlice",
"in": "path",
"name": "name",
"required": true,
@@ -70221,8 +70982,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified Event",
- "operationId": "patchNamespacedEvent",
+ "description": "partially update the specified EndpointSlice",
+ "operationId": "patchNamespacedEndpointSlice",
"parameters": [
{
"in": "body",
@@ -70271,13 +71032,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
}
},
@@ -70285,12 +71046,12 @@
"https"
],
"tags": [
- "events_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -70299,15 +71060,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified Event",
- "operationId": "replaceNamespacedEvent",
+ "description": "replace the specified EndpointSlice",
+ "operationId": "replaceNamespacedEndpointSlice",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
},
{
@@ -70342,13 +71103,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
}
},
@@ -70356,18 +71117,18 @@
"https"
],
"tags": [
- "events_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/events.k8s.io/v1/watch/events": {
+ "/apis/discovery.k8s.io/v1/watch/endpointslices": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -70448,7 +71209,7 @@
}
]
},
- "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events": {
+ "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -70537,7 +71298,7 @@
}
]
},
- "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events/{name}": {
+ "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -70575,7 +71336,7 @@
"uniqueItems": true
},
{
- "description": "name of the Event",
+ "description": "name of the EndpointSlice",
"in": "path",
"name": "name",
"required": true,
@@ -70634,7 +71395,7 @@
}
]
},
- "/apis/flowcontrol.apiserver.k8s.io/": {
+ "/apis/events.k8s.io/": {
"get": {
"consumes": [
"application/json",
@@ -70660,11 +71421,11 @@
"https"
],
"tags": [
- "flowcontrolApiserver"
+ "events"
]
}
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/": {
+ "/apis/events.k8s.io/v1/": {
"get": {
"consumes": [
"application/json",
@@ -70692,17 +71453,134 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "events_v1"
]
}
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas": {
+ "/apis/events.k8s.io/v1/events": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind Event",
+ "operationId": "listEventForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/events.v1.EventList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "events_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "events.k8s.io",
+ "kind": "Event",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/events.k8s.io/v1/namespaces/{namespace}/events": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of FlowSchema",
- "operationId": "deleteCollectionFlowSchema",
+ "description": "delete collection of Event",
+ "operationId": "deleteCollectionNamespacedEvent",
"parameters": [
{
"in": "body",
@@ -70821,12 +71699,12 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "events_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -70835,8 +71713,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind FlowSchema",
- "operationId": "listFlowSchema",
+ "description": "list or watch objects of kind Event",
+ "operationId": "listNamespacedEvent",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -70922,7 +71800,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchemaList"
+ "$ref": "#/definitions/events.v1.EventList"
}
}
},
@@ -70930,16 +71808,24 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "events_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -70952,15 +71838,15 @@
"consumes": [
"application/json"
],
- "description": "create a FlowSchema",
- "operationId": "createFlowSchema",
+ "description": "create an Event",
+ "operationId": "createNamespacedEvent",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/events.v1.Event"
}
},
{
@@ -70995,19 +71881,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/events.v1.Event"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/events.v1.Event"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/events.v1.Event"
}
}
},
@@ -71015,24 +71901,24 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "events_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}": {
+ "/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a FlowSchema",
- "operationId": "deleteFlowSchema",
+ "description": "delete an Event",
+ "operationId": "deleteNamespacedEvent",
"parameters": [
{
"in": "body",
@@ -71101,12 +71987,12 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "events_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -71115,8 +72001,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified FlowSchema",
- "operationId": "readFlowSchema",
+ "description": "read the specified Event",
+ "operationId": "readNamespacedEvent",
"produces": [
"application/json",
"application/yaml",
@@ -71127,7 +72013,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/events.v1.Event"
}
}
},
@@ -71135,24 +72021,32 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "events_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the FlowSchema",
+ "description": "name of the Event",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -71169,8 +72063,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified FlowSchema",
- "operationId": "patchFlowSchema",
+ "description": "partially update the specified Event",
+ "operationId": "patchNamespacedEvent",
"parameters": [
{
"in": "body",
@@ -71219,13 +72113,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/events.v1.Event"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/events.v1.Event"
}
}
},
@@ -71233,12 +72127,12 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "events_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -71247,15 +72141,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified FlowSchema",
- "operationId": "replaceFlowSchema",
+ "description": "replace the specified Event",
+ "operationId": "replaceNamespacedEvent",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/events.v1.Event"
}
},
{
@@ -71290,13 +72184,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/events.v1.Event"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/events.v1.Event"
}
}
},
@@ -71304,133 +72198,303 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "events_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read status of the specified FlowSchema",
- "operationId": "readFlowSchemaStatus",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.FlowSchema"
- }
- }
+ "/apis/events.k8s.io/v1/watch/events": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
- "version": "v1"
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events": {
"parameters": [
{
- "description": "name of the FlowSchema",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Event",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- ],
- "patch": {
+ ]
+ },
+ "/apis/flowcontrol.apiserver.k8s.io/": {
+ "get": {
"consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml",
- "application/apply-patch+cbor"
- ],
- "description": "partially update status of the specified FlowSchema",
- "operationId": "patchFlowSchemaStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "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",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
+ "application/vnd.kubernetes.protobuf"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.APIGroup"
}
}
},
@@ -71438,53 +72502,20 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "put": {
+ "flowcontrolApiserver"
+ ]
+ }
+ },
+ "/apis/flowcontrol.apiserver.k8s.io/v1/": {
+ "get": {
"consumes": [
- "application/json"
- ],
- "description": "replace status of the specified FlowSchema",
- "operationId": "replaceFlowSchemaStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.FlowSchema"
- }
- },
- {
- "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",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
@@ -71495,13 +72526,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.APIResourceList"
}
}
},
@@ -71510,23 +72535,16 @@
],
"tags": [
"flowcontrolApiserver_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
+ ]
}
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations": {
+ "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of PriorityLevelConfiguration",
- "operationId": "deleteCollectionPriorityLevelConfiguration",
+ "description": "delete collection of FlowSchema",
+ "operationId": "deleteCollectionFlowSchema",
"parameters": [
{
"in": "body",
@@ -71650,7 +72668,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "kind": "FlowSchema",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -71659,8 +72677,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind PriorityLevelConfiguration",
- "operationId": "listPriorityLevelConfiguration",
+ "description": "list or watch objects of kind FlowSchema",
+ "operationId": "listFlowSchema",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -71746,7 +72764,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfigurationList"
+ "$ref": "#/definitions/v1.FlowSchemaList"
}
}
},
@@ -71759,7 +72777,7 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "kind": "FlowSchema",
"version": "v1"
}
},
@@ -71776,15 +72794,15 @@
"consumes": [
"application/json"
],
- "description": "create a PriorityLevelConfiguration",
- "operationId": "createPriorityLevelConfiguration",
+ "description": "create a FlowSchema",
+ "operationId": "createFlowSchema",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.FlowSchema"
}
},
{
@@ -71819,19 +72837,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.FlowSchema"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.FlowSchema"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.FlowSchema"
}
}
},
@@ -71844,19 +72862,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "kind": "FlowSchema",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}": {
+ "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a PriorityLevelConfiguration",
- "operationId": "deletePriorityLevelConfiguration",
+ "description": "delete a FlowSchema",
+ "operationId": "deleteFlowSchema",
"parameters": [
{
"in": "body",
@@ -71930,7 +72948,7 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "kind": "FlowSchema",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -71939,8 +72957,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified PriorityLevelConfiguration",
- "operationId": "readPriorityLevelConfiguration",
+ "description": "read the specified FlowSchema",
+ "operationId": "readFlowSchema",
"produces": [
"application/json",
"application/yaml",
@@ -71951,7 +72969,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.FlowSchema"
}
}
},
@@ -71964,13 +72982,13 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "kind": "FlowSchema",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the PriorityLevelConfiguration",
+ "description": "name of the FlowSchema",
"in": "path",
"name": "name",
"required": true,
@@ -71993,8 +73011,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified PriorityLevelConfiguration",
- "operationId": "patchPriorityLevelConfiguration",
+ "description": "partially update the specified FlowSchema",
+ "operationId": "patchFlowSchema",
"parameters": [
{
"in": "body",
@@ -72043,13 +73061,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.FlowSchema"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.FlowSchema"
}
}
},
@@ -72062,7 +73080,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "kind": "FlowSchema",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -72071,15 +73089,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified PriorityLevelConfiguration",
- "operationId": "replacePriorityLevelConfiguration",
+ "description": "replace the specified FlowSchema",
+ "operationId": "replaceFlowSchema",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.FlowSchema"
}
},
{
@@ -72114,13 +73132,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.FlowSchema"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.FlowSchema"
}
}
},
@@ -72133,19 +73151,19 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "kind": "FlowSchema",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status": {
+ "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified PriorityLevelConfiguration",
- "operationId": "readPriorityLevelConfigurationStatus",
+ "description": "read status of the specified FlowSchema",
+ "operationId": "readFlowSchemaStatus",
"produces": [
"application/json",
"application/yaml",
@@ -72156,7 +73174,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.FlowSchema"
}
}
},
@@ -72169,13 +73187,13 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "kind": "FlowSchema",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the PriorityLevelConfiguration",
+ "description": "name of the FlowSchema",
"in": "path",
"name": "name",
"required": true,
@@ -72198,8 +73216,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update status of the specified PriorityLevelConfiguration",
- "operationId": "patchPriorityLevelConfigurationStatus",
+ "description": "partially update status of the specified FlowSchema",
+ "operationId": "patchFlowSchemaStatus",
"parameters": [
{
"in": "body",
@@ -72248,13 +73266,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.FlowSchema"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.FlowSchema"
}
}
},
@@ -72267,7 +73285,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "kind": "FlowSchema",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -72276,15 +73294,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified PriorityLevelConfiguration",
- "operationId": "replacePriorityLevelConfigurationStatus",
+ "description": "replace status of the specified FlowSchema",
+ "operationId": "replaceFlowSchemaStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.FlowSchema"
}
},
{
@@ -72319,13 +73337,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.FlowSchema"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.FlowSchema"
}
}
},
@@ -72338,421 +73356,19 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "kind": "FlowSchema",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the FlowSchema",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the PriorityLevelConfiguration",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/internal.apiserver.k8s.io/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "internalApiserver"
- ]
- }
- },
- "/apis/internal.apiserver.k8s.io/v1alpha1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "internalApiserver_v1alpha1"
- ]
- }
- },
- "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions": {
+ "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of StorageVersion",
- "operationId": "deleteCollectionStorageVersion",
+ "description": "delete collection of PriorityLevelConfiguration",
+ "operationId": "deleteCollectionPriorityLevelConfiguration",
"parameters": [
{
"in": "body",
@@ -72871,13 +73487,13 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -72885,8 +73501,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind StorageVersion",
- "operationId": "listStorageVersion",
+ "description": "list or watch objects of kind PriorityLevelConfiguration",
+ "operationId": "listPriorityLevelConfiguration",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -72972,7 +73588,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersionList"
+ "$ref": "#/definitions/v1.PriorityLevelConfigurationList"
}
}
},
@@ -72980,13 +73596,13 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
}
},
"parameters": [
@@ -73002,15 +73618,15 @@
"consumes": [
"application/json"
],
- "description": "create a StorageVersion",
- "operationId": "createStorageVersion",
+ "description": "create a PriorityLevelConfiguration",
+ "operationId": "createPriorityLevelConfiguration",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
},
{
@@ -73045,19 +73661,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
}
},
@@ -73065,24 +73681,24 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}": {
+ "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a StorageVersion",
- "operationId": "deleteStorageVersion",
+ "description": "delete a PriorityLevelConfiguration",
+ "operationId": "deletePriorityLevelConfiguration",
"parameters": [
{
"in": "body",
@@ -73151,13 +73767,13 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -73165,8 +73781,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified StorageVersion",
- "operationId": "readStorageVersion",
+ "description": "read the specified PriorityLevelConfiguration",
+ "operationId": "readPriorityLevelConfiguration",
"produces": [
"application/json",
"application/yaml",
@@ -73177,7 +73793,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
}
},
@@ -73185,18 +73801,18 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
}
},
"parameters": [
{
- "description": "name of the StorageVersion",
+ "description": "name of the PriorityLevelConfiguration",
"in": "path",
"name": "name",
"required": true,
@@ -73219,8 +73835,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified StorageVersion",
- "operationId": "patchStorageVersion",
+ "description": "partially update the specified PriorityLevelConfiguration",
+ "operationId": "patchPriorityLevelConfiguration",
"parameters": [
{
"in": "body",
@@ -73269,13 +73885,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
}
},
@@ -73283,13 +73899,13 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -73297,15 +73913,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified StorageVersion",
- "operationId": "replaceStorageVersion",
+ "description": "replace the specified PriorityLevelConfiguration",
+ "operationId": "replacePriorityLevelConfiguration",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
},
{
@@ -73340,13 +73956,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
}
},
@@ -73354,24 +73970,24 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}/status": {
+ "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified StorageVersion",
- "operationId": "readStorageVersionStatus",
+ "description": "read status of the specified PriorityLevelConfiguration",
+ "operationId": "readPriorityLevelConfigurationStatus",
"produces": [
"application/json",
"application/yaml",
@@ -73382,7 +73998,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
}
},
@@ -73390,18 +74006,18 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
}
},
"parameters": [
{
- "description": "name of the StorageVersion",
+ "description": "name of the PriorityLevelConfiguration",
"in": "path",
"name": "name",
"required": true,
@@ -73424,8 +74040,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update status of the specified StorageVersion",
- "operationId": "patchStorageVersionStatus",
+ "description": "partially update status of the specified PriorityLevelConfiguration",
+ "operationId": "patchPriorityLevelConfigurationStatus",
"parameters": [
{
"in": "body",
@@ -73474,13 +74090,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
}
},
@@ -73488,13 +74104,13 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -73502,15 +74118,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified StorageVersion",
- "operationId": "replaceStorageVersionStatus",
+ "description": "replace status of the specified PriorityLevelConfiguration",
+ "operationId": "replacePriorityLevelConfigurationStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
},
{
@@ -73545,13 +74161,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
}
},
@@ -73559,18 +74175,18 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions": {
+ "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -73651,7 +74267,7 @@
}
]
},
- "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions/{name}": {
+ "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -73689,7 +74305,7 @@
"uniqueItems": true
},
{
- "description": "name of the StorageVersion",
+ "description": "name of the FlowSchema",
"in": "path",
"name": "name",
"required": true,
@@ -73740,7 +74356,177 @@
}
]
},
- "/apis/networking.k8s.io/": {
+ "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the PriorityLevelConfiguration",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/internal.apiserver.k8s.io/": {
"get": {
"consumes": [
"application/json",
@@ -73766,11 +74552,11 @@
"https"
],
"tags": [
- "networking"
+ "internalApiserver"
]
}
},
- "/apis/networking.k8s.io/v1/": {
+ "/apis/internal.apiserver.k8s.io/v1alpha1/": {
"get": {
"consumes": [
"application/json",
@@ -73798,17 +74584,17 @@
"https"
],
"tags": [
- "networking_v1"
+ "internalApiserver_v1alpha1"
]
}
},
- "/apis/networking.k8s.io/v1/ingressclasses": {
+ "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of IngressClass",
- "operationId": "deleteCollectionIngressClass",
+ "description": "delete collection of StorageVersion",
+ "operationId": "deleteCollectionStorageVersion",
"parameters": [
{
"in": "body",
@@ -73927,13 +74713,13 @@
"https"
],
"tags": [
- "networking_v1"
+ "internalApiserver_v1alpha1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
},
@@ -73941,8 +74727,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind IngressClass",
- "operationId": "listIngressClass",
+ "description": "list or watch objects of kind StorageVersion",
+ "operationId": "listStorageVersion",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -74028,7 +74814,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IngressClassList"
+ "$ref": "#/definitions/v1alpha1.StorageVersionList"
}
}
},
@@ -74036,13 +74822,13 @@
"https"
],
"tags": [
- "networking_v1"
+ "internalApiserver_v1alpha1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
}
},
"parameters": [
@@ -74058,15 +74844,15 @@
"consumes": [
"application/json"
],
- "description": "create an IngressClass",
- "operationId": "createIngressClass",
+ "description": "create a StorageVersion",
+ "operationId": "createStorageVersion",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
},
{
@@ -74101,19 +74887,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
}
},
@@ -74121,24 +74907,24 @@
"https"
],
"tags": [
- "networking_v1"
+ "internalApiserver_v1alpha1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1/ingressclasses/{name}": {
+ "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete an IngressClass",
- "operationId": "deleteIngressClass",
+ "description": "delete a StorageVersion",
+ "operationId": "deleteStorageVersion",
"parameters": [
{
"in": "body",
@@ -74207,13 +74993,13 @@
"https"
],
"tags": [
- "networking_v1"
+ "internalApiserver_v1alpha1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
},
@@ -74221,8 +75007,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified IngressClass",
- "operationId": "readIngressClass",
+ "description": "read the specified StorageVersion",
+ "operationId": "readStorageVersion",
"produces": [
"application/json",
"application/yaml",
@@ -74233,7 +75019,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
}
},
@@ -74241,18 +75027,18 @@
"https"
],
"tags": [
- "networking_v1"
+ "internalApiserver_v1alpha1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
}
},
"parameters": [
{
- "description": "name of the IngressClass",
+ "description": "name of the StorageVersion",
"in": "path",
"name": "name",
"required": true,
@@ -74275,8 +75061,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified IngressClass",
- "operationId": "patchIngressClass",
+ "description": "partially update the specified StorageVersion",
+ "operationId": "patchStorageVersion",
"parameters": [
{
"in": "body",
@@ -74325,13 +75111,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
}
},
@@ -74339,13 +75125,13 @@
"https"
],
"tags": [
- "networking_v1"
+ "internalApiserver_v1alpha1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
},
@@ -74353,15 +75139,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified IngressClass",
- "operationId": "replaceIngressClass",
+ "description": "replace the specified StorageVersion",
+ "operationId": "replaceStorageVersion",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
},
{
@@ -74396,13 +75182,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
}
},
@@ -74410,38 +75196,35 @@
"https"
],
"tags": [
- "networking_v1"
+ "internalApiserver_v1alpha1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1/ingresses": {
+ "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Ingress",
- "operationId": "listIngressForAllNamespaces",
+ "description": "read status of the specified StorageVersion",
+ "operationId": "readStorageVersionStatus",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/cbor",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch",
- "application/cbor-seq"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IngressList"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
}
},
@@ -74449,15 +75232,187 @@
"https"
],
"tags": [
- "networking_v1"
+ "internalApiserver_v1alpha1"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
- "version": "v1"
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
}
},
+ "parameters": [
+ {
+ "description": "name of the StorageVersion",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified StorageVersion",
+ "operationId": "patchStorageVersionStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "internalApiserver_v1alpha1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified StorageVersion",
+ "operationId": "replaceStorageVersionStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "internalApiserver_v1alpha1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -74538,13 +75493,164 @@
}
]
},
- "/apis/networking.k8s.io/v1/ipaddresses": {
+ "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the StorageVersion",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking"
+ ]
+ }
+ },
+ "/apis/networking.k8s.io/v1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ]
+ }
+ },
+ "/apis/networking.k8s.io/v1/ingressclasses": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of IPAddress",
- "operationId": "deleteCollectionIPAddress",
+ "description": "delete collection of IngressClass",
+ "operationId": "deleteCollectionIngressClass",
"parameters": [
{
"in": "body",
@@ -74668,7 +75774,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "IPAddress",
+ "kind": "IngressClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -74677,8 +75783,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind IPAddress",
- "operationId": "listIPAddress",
+ "description": "list or watch objects of kind IngressClass",
+ "operationId": "listIngressClass",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -74764,7 +75870,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IPAddressList"
+ "$ref": "#/definitions/v1.IngressClassList"
}
}
},
@@ -74777,7 +75883,7 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "IPAddress",
+ "kind": "IngressClass",
"version": "v1"
}
},
@@ -74794,15 +75900,15 @@
"consumes": [
"application/json"
],
- "description": "create an IPAddress",
- "operationId": "createIPAddress",
+ "description": "create an IngressClass",
+ "operationId": "createIngressClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.IPAddress"
+ "$ref": "#/definitions/v1.IngressClass"
}
},
{
@@ -74837,19 +75943,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IPAddress"
+ "$ref": "#/definitions/v1.IngressClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.IPAddress"
+ "$ref": "#/definitions/v1.IngressClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.IPAddress"
+ "$ref": "#/definitions/v1.IngressClass"
}
}
},
@@ -74862,19 +75968,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "IPAddress",
+ "kind": "IngressClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1/ipaddresses/{name}": {
+ "/apis/networking.k8s.io/v1/ingressclasses/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete an IPAddress",
- "operationId": "deleteIPAddress",
+ "description": "delete an IngressClass",
+ "operationId": "deleteIngressClass",
"parameters": [
{
"in": "body",
@@ -74948,7 +76054,7 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "IPAddress",
+ "kind": "IngressClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -74957,8 +76063,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified IPAddress",
- "operationId": "readIPAddress",
+ "description": "read the specified IngressClass",
+ "operationId": "readIngressClass",
"produces": [
"application/json",
"application/yaml",
@@ -74969,7 +76075,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IPAddress"
+ "$ref": "#/definitions/v1.IngressClass"
}
}
},
@@ -74982,13 +76088,13 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "IPAddress",
+ "kind": "IngressClass",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the IPAddress",
+ "description": "name of the IngressClass",
"in": "path",
"name": "name",
"required": true,
@@ -75011,8 +76117,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified IPAddress",
- "operationId": "patchIPAddress",
+ "description": "partially update the specified IngressClass",
+ "operationId": "patchIngressClass",
"parameters": [
{
"in": "body",
@@ -75061,13 +76167,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IPAddress"
+ "$ref": "#/definitions/v1.IngressClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.IPAddress"
+ "$ref": "#/definitions/v1.IngressClass"
}
}
},
@@ -75080,7 +76186,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "IPAddress",
+ "kind": "IngressClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -75089,15 +76195,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified IPAddress",
- "operationId": "replaceIPAddress",
+ "description": "replace the specified IngressClass",
+ "operationId": "replaceIngressClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.IPAddress"
+ "$ref": "#/definitions/v1.IngressClass"
}
},
{
@@ -75132,13 +76238,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IPAddress"
+ "$ref": "#/definitions/v1.IngressClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.IPAddress"
+ "$ref": "#/definitions/v1.IngressClass"
}
}
},
@@ -75151,19 +76257,136 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "IPAddress",
+ "kind": "IngressClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses": {
+ "/apis/networking.k8s.io/v1/ingresses": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind Ingress",
+ "operationId": "listIngressForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.IngressList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/v1/ipaddresses": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of Ingress",
- "operationId": "deleteCollectionNamespacedIngress",
+ "description": "delete collection of IPAddress",
+ "operationId": "deleteCollectionIPAddress",
"parameters": [
{
"in": "body",
@@ -75287,7 +76510,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "Ingress",
+ "kind": "IPAddress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -75296,8 +76519,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Ingress",
- "operationId": "listNamespacedIngress",
+ "description": "list or watch objects of kind IPAddress",
+ "operationId": "listIPAddress",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -75383,7 +76606,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IngressList"
+ "$ref": "#/definitions/v1.IPAddressList"
}
}
},
@@ -75396,19 +76619,11 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "Ingress",
+ "kind": "IPAddress",
"version": "v1"
}
},
"parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -75421,15 +76636,15 @@
"consumes": [
"application/json"
],
- "description": "create an Ingress",
- "operationId": "createNamespacedIngress",
+ "description": "create an IPAddress",
+ "operationId": "createIPAddress",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.IPAddress"
}
},
{
@@ -75464,19 +76679,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.IPAddress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.IPAddress"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.IPAddress"
}
}
},
@@ -75489,19 +76704,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "Ingress",
+ "kind": "IPAddress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}": {
+ "/apis/networking.k8s.io/v1/ipaddresses/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete an Ingress",
- "operationId": "deleteNamespacedIngress",
+ "description": "delete an IPAddress",
+ "operationId": "deleteIPAddress",
"parameters": [
{
"in": "body",
@@ -75575,230 +76790,17 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "Ingress",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified Ingress",
- "operationId": "readNamespacedIngress",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Ingress"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "name of the Ingress",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml",
- "application/apply-patch+cbor"
- ],
- "description": "partially update the specified Ingress",
- "operationId": "patchNamespacedIngress",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "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",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Ingress"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Ingress"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
+ "kind": "IPAddress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
},
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified Ingress",
- "operationId": "replaceNamespacedIngress",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Ingress"
- }
- },
- {
- "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",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Ingress"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Ingress"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified Ingress",
- "operationId": "readNamespacedIngressStatus",
+ "description": "read the specified IPAddress",
+ "operationId": "readIPAddress",
"produces": [
"application/json",
"application/yaml",
@@ -75809,7 +76811,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.IPAddress"
}
}
},
@@ -75822,27 +76824,19 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "Ingress",
+ "kind": "IPAddress",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the Ingress",
+ "description": "name of the IPAddress",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -75859,8 +76853,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update status of the specified Ingress",
- "operationId": "patchNamespacedIngressStatus",
+ "description": "partially update the specified IPAddress",
+ "operationId": "patchIPAddress",
"parameters": [
{
"in": "body",
@@ -75909,13 +76903,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.IPAddress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.IPAddress"
}
}
},
@@ -75928,7 +76922,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "Ingress",
+ "kind": "IPAddress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -75937,15 +76931,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified Ingress",
- "operationId": "replaceNamespacedIngressStatus",
+ "description": "replace the specified IPAddress",
+ "operationId": "replaceIPAddress",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.IPAddress"
}
},
{
@@ -75980,13 +76974,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.IPAddress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.IPAddress"
}
}
},
@@ -75999,19 +76993,19 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "Ingress",
+ "kind": "IPAddress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": {
+ "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of NetworkPolicy",
- "operationId": "deleteCollectionNamespacedNetworkPolicy",
+ "description": "delete collection of Ingress",
+ "operationId": "deleteCollectionNamespacedIngress",
"parameters": [
{
"in": "body",
@@ -76135,7 +77129,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "kind": "Ingress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -76144,8 +77138,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind NetworkPolicy",
- "operationId": "listNamespacedNetworkPolicy",
+ "description": "list or watch objects of kind Ingress",
+ "operationId": "listNamespacedIngress",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -76231,7 +77225,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicyList"
+ "$ref": "#/definitions/v1.IngressList"
}
}
},
@@ -76244,7 +77238,7 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "kind": "Ingress",
"version": "v1"
}
},
@@ -76269,15 +77263,15 @@
"consumes": [
"application/json"
],
- "description": "create a NetworkPolicy",
- "operationId": "createNamespacedNetworkPolicy",
+ "description": "create an Ingress",
+ "operationId": "createNamespacedIngress",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.Ingress"
}
},
{
@@ -76312,19 +77306,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.Ingress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.Ingress"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.Ingress"
}
}
},
@@ -76337,19 +77331,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "kind": "Ingress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": {
+ "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a NetworkPolicy",
- "operationId": "deleteNamespacedNetworkPolicy",
+ "description": "delete an Ingress",
+ "operationId": "deleteNamespacedIngress",
"parameters": [
{
"in": "body",
@@ -76423,7 +77417,7 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "kind": "Ingress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -76432,8 +77426,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified NetworkPolicy",
- "operationId": "readNamespacedNetworkPolicy",
+ "description": "read the specified Ingress",
+ "operationId": "readNamespacedIngress",
"produces": [
"application/json",
"application/yaml",
@@ -76444,7 +77438,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.Ingress"
}
}
},
@@ -76457,13 +77451,13 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "kind": "Ingress",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the NetworkPolicy",
+ "description": "name of the Ingress",
"in": "path",
"name": "name",
"required": true,
@@ -76494,8 +77488,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified NetworkPolicy",
- "operationId": "patchNamespacedNetworkPolicy",
+ "description": "partially update the specified Ingress",
+ "operationId": "patchNamespacedIngress",
"parameters": [
{
"in": "body",
@@ -76544,13 +77538,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.Ingress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.Ingress"
}
}
},
@@ -76563,7 +77557,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "kind": "Ingress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -76572,15 +77566,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified NetworkPolicy",
- "operationId": "replaceNamespacedNetworkPolicy",
+ "description": "replace the specified Ingress",
+ "operationId": "replaceNamespacedIngress",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.Ingress"
}
},
{
@@ -76615,13 +77609,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.Ingress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.Ingress"
}
}
},
@@ -76634,33 +77628,30 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "kind": "Ingress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1/networkpolicies": {
+ "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind NetworkPolicy",
- "operationId": "listNetworkPolicyForAllNamespaces",
+ "description": "read status of the specified Ingress",
+ "operationId": "readNamespacedIngressStatus",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/cbor",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch",
- "application/cbor-seq"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicyList"
+ "$ref": "#/definitions/v1.Ingress"
}
}
},
@@ -76670,100 +77661,199 @@
"tags": [
"networking_v1"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "kind": "Ingress",
"version": "v1"
}
},
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
+ "description": "name of the Ingress",
+ "in": "path",
+ "name": "name",
+ "required": true,
"type": "string",
"uniqueItems": true
},
{
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified Ingress",
+ "operationId": "patchNamespacedIngressStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
+ "version": "v1"
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified Ingress",
+ "operationId": "replaceNamespacedIngressStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Ingress"
+ }
+ }
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
+ "version": "v1"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "x-codegen-request-body-name": "body"
+ }
},
- "/apis/networking.k8s.io/v1/servicecidrs": {
+ "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ServiceCIDR",
- "operationId": "deleteCollectionServiceCIDR",
+ "description": "delete collection of NetworkPolicy",
+ "operationId": "deleteCollectionNamespacedNetworkPolicy",
"parameters": [
{
"in": "body",
@@ -76887,7 +77977,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "ServiceCIDR",
+ "kind": "NetworkPolicy",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -76896,8 +77986,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ServiceCIDR",
- "operationId": "listServiceCIDR",
+ "description": "list or watch objects of kind NetworkPolicy",
+ "operationId": "listNamespacedNetworkPolicy",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -76983,7 +78073,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ServiceCIDRList"
+ "$ref": "#/definitions/v1.NetworkPolicyList"
}
}
},
@@ -76996,11 +78086,19 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "ServiceCIDR",
+ "kind": "NetworkPolicy",
"version": "v1"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -77013,15 +78111,15 @@
"consumes": [
"application/json"
],
- "description": "create a ServiceCIDR",
- "operationId": "createServiceCIDR",
+ "description": "create a NetworkPolicy",
+ "operationId": "createNamespacedNetworkPolicy",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ServiceCIDR"
+ "$ref": "#/definitions/v1.NetworkPolicy"
}
},
{
@@ -77056,19 +78154,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ServiceCIDR"
+ "$ref": "#/definitions/v1.NetworkPolicy"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ServiceCIDR"
+ "$ref": "#/definitions/v1.NetworkPolicy"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.ServiceCIDR"
+ "$ref": "#/definitions/v1.NetworkPolicy"
}
}
},
@@ -77081,19 +78179,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "ServiceCIDR",
+ "kind": "NetworkPolicy",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1/servicecidrs/{name}": {
+ "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a ServiceCIDR",
- "operationId": "deleteServiceCIDR",
+ "description": "delete a NetworkPolicy",
+ "operationId": "deleteNamespacedNetworkPolicy",
"parameters": [
{
"in": "body",
@@ -77167,7 +78265,7 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "ServiceCIDR",
+ "kind": "NetworkPolicy",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -77176,8 +78274,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified ServiceCIDR",
- "operationId": "readServiceCIDR",
+ "description": "read the specified NetworkPolicy",
+ "operationId": "readNamespacedNetworkPolicy",
"produces": [
"application/json",
"application/yaml",
@@ -77188,7 +78286,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ServiceCIDR"
+ "$ref": "#/definitions/v1.NetworkPolicy"
}
}
},
@@ -77201,19 +78299,27 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "ServiceCIDR",
+ "kind": "NetworkPolicy",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the ServiceCIDR",
+ "description": "name of the NetworkPolicy",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -77230,8 +78336,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified ServiceCIDR",
- "operationId": "patchServiceCIDR",
+ "description": "partially update the specified NetworkPolicy",
+ "operationId": "patchNamespacedNetworkPolicy",
"parameters": [
{
"in": "body",
@@ -77280,13 +78386,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ServiceCIDR"
+ "$ref": "#/definitions/v1.NetworkPolicy"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ServiceCIDR"
+ "$ref": "#/definitions/v1.NetworkPolicy"
}
}
},
@@ -77299,7 +78405,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "ServiceCIDR",
+ "kind": "NetworkPolicy",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -77308,15 +78414,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified ServiceCIDR",
- "operationId": "replaceServiceCIDR",
+ "description": "replace the specified NetworkPolicy",
+ "operationId": "replaceNamespacedNetworkPolicy",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ServiceCIDR"
+ "$ref": "#/definitions/v1.NetworkPolicy"
}
},
{
@@ -77351,13 +78457,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ServiceCIDR"
+ "$ref": "#/definitions/v1.NetworkPolicy"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ServiceCIDR"
+ "$ref": "#/definitions/v1.NetworkPolicy"
}
}
},
@@ -77370,30 +78476,33 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "ServiceCIDR",
+ "kind": "NetworkPolicy",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1/servicecidrs/{name}/status": {
+ "/apis/networking.k8s.io/v1/networkpolicies": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified ServiceCIDR",
- "operationId": "readServiceCIDRStatus",
+ "description": "list or watch objects of kind NetworkPolicy",
+ "operationId": "listNetworkPolicyForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/cbor"
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ServiceCIDR"
+ "$ref": "#/definitions/v1.NetworkPolicyList"
}
}
},
@@ -77403,185 +78512,918 @@
"tags": [
"networking_v1"
],
- "x-kubernetes-action": "get",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "ServiceCIDR",
+ "kind": "NetworkPolicy",
"version": "v1"
}
},
- "parameters": [
- {
- "description": "name of the ServiceCIDR",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml",
- "application/apply-patch+cbor"
- ],
- "description": "partially update status of the specified ServiceCIDR",
- "operationId": "patchServiceCIDRStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "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",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ServiceCIDR"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ServiceCIDR"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace status of the specified ServiceCIDR",
- "operationId": "replaceServiceCIDRStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.ServiceCIDR"
- }
- },
- {
- "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",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ServiceCIDR"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ServiceCIDR"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/networking.k8s.io/v1/watch/ingressclasses": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/v1/servicecidrs": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of ServiceCIDR",
+ "operationId": "deleteCollectionServiceCIDR",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "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.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "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.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "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.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind ServiceCIDR",
+ "operationId": "listServiceCIDR",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDRList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a ServiceCIDR",
+ "operationId": "createServiceCIDR",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1/servicecidrs/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a ServiceCIDR",
+ "operationId": "deleteServiceCIDR",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "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.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "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.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "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.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified ServiceCIDR",
+ "operationId": "readServiceCIDR",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the ServiceCIDR",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified ServiceCIDR",
+ "operationId": "patchServiceCIDR",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified ServiceCIDR",
+ "operationId": "replaceServiceCIDR",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1/servicecidrs/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified ServiceCIDR",
+ "operationId": "readServiceCIDRStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the ServiceCIDR",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified ServiceCIDR",
+ "operationId": "patchServiceCIDRStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified ServiceCIDR",
+ "operationId": "replaceServiceCIDRStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1/watch/ingressclasses": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -85954,188 +87796,10 @@
},
{
"description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the Role",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
"uniqueItems": true
},
{
@@ -86182,7 +87846,7 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/watch/roles": {
+ "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -86219,6 +87883,22 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the Role",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -86263,598 +87943,187 @@
}
]
},
- "/apis/resource.k8s.io/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
+ "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "resource"
- ]
- }
- },
- "/apis/resource.k8s.io/v1alpha3/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha3"
- ]
- }
- },
- "/apis/resource.k8s.io/v1alpha3/deviceclasses": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete collection of DeviceClass",
- "operationId": "deleteCollectionDeviceClass",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "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",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "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.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
- "in": "query",
- "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "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.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "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.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha3"
- ],
- "x-kubernetes-action": "deletecollection",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "DeviceClass",
- "version": "v1alpha3"
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind DeviceClass",
- "operationId": "listDeviceClass",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch",
- "application/cbor-seq"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClassList"
- }
- }
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha3"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "DeviceClass",
- "version": "v1alpha3"
- }
- },
- "parameters": [
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a DeviceClass",
- "operationId": "createDeviceClass",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
- }
- },
- {
- "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",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha3"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "DeviceClass",
- "version": "v1alpha3"
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete a DeviceClass",
- "operationId": "deleteDeviceClass",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "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",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "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.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
- "in": "query",
- "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "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.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "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.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
- }
- }
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha3"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "DeviceClass",
- "version": "v1alpha3"
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified DeviceClass",
- "operationId": "readDeviceClass",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
- }
- }
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha3"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "DeviceClass",
- "version": "v1alpha3"
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/rbac.authorization.k8s.io/v1/watch/roles": {
"parameters": [
{
- "description": "name of the DeviceClass",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- ],
- "patch": {
+ ]
+ },
+ "/apis/resource.k8s.io/": {
+ "get": {
"consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml",
- "application/apply-patch+cbor"
- ],
- "description": "partially update the specified DeviceClass",
- "operationId": "patchDeviceClass",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "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",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
+ "application/vnd.kubernetes.protobuf"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
+ "$ref": "#/definitions/v1.APIGroup"
}
}
},
@@ -86862,53 +88131,20 @@
"https"
],
"tags": [
- "resource_v1alpha3"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "DeviceClass",
- "version": "v1alpha3"
- },
- "x-codegen-request-body-name": "body"
- },
- "put": {
+ "resource"
+ ]
+ }
+ },
+ "/apis/resource.k8s.io/v1/": {
+ "get": {
"consumes": [
- "application/json"
- ],
- "description": "replace the specified DeviceClass",
- "operationId": "replaceDeviceClass",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
- }
- },
- {
- "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",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
@@ -86919,13 +88155,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1alpha3.DeviceClass"
+ "$ref": "#/definitions/v1.APIResourceList"
}
}
},
@@ -86933,24 +88163,17 @@
"https"
],
"tags": [
- "resource_v1alpha3"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "DeviceClass",
- "version": "v1alpha3"
- },
- "x-codegen-request-body-name": "body"
+ "resource_v1"
+ ]
}
},
- "/apis/resource.k8s.io/v1alpha3/devicetaintrules": {
+ "/apis/resource.k8s.io/v1/deviceclasses": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of DeviceTaintRule",
- "operationId": "deleteCollectionDeviceTaintRule",
+ "description": "delete collection of DeviceClass",
+ "operationId": "deleteCollectionDeviceClass",
"parameters": [
{
"in": "body",
@@ -87069,13 +88292,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "DeviceTaintRule",
- "version": "v1alpha3"
+ "kind": "DeviceClass",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -87083,8 +88306,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind DeviceTaintRule",
- "operationId": "listDeviceTaintRule",
+ "description": "list or watch objects of kind DeviceClass",
+ "operationId": "listDeviceClass",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -87170,7 +88393,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceTaintRuleList"
+ "$ref": "#/definitions/v1.DeviceClassList"
}
}
},
@@ -87178,13 +88401,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "DeviceTaintRule",
- "version": "v1alpha3"
+ "kind": "DeviceClass",
+ "version": "v1"
}
},
"parameters": [
@@ -87200,15 +88423,15 @@
"consumes": [
"application/json"
],
- "description": "create a DeviceTaintRule",
- "operationId": "createDeviceTaintRule",
+ "description": "create a DeviceClass",
+ "operationId": "createDeviceClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ "$ref": "#/definitions/v1.DeviceClass"
}
},
{
@@ -87243,19 +88466,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ "$ref": "#/definitions/v1.DeviceClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ "$ref": "#/definitions/v1.DeviceClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ "$ref": "#/definitions/v1.DeviceClass"
}
}
},
@@ -87263,24 +88486,24 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "DeviceTaintRule",
- "version": "v1alpha3"
+ "kind": "DeviceClass",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}": {
+ "/apis/resource.k8s.io/v1/deviceclasses/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a DeviceTaintRule",
- "operationId": "deleteDeviceTaintRule",
+ "description": "delete a DeviceClass",
+ "operationId": "deleteDeviceClass",
"parameters": [
{
"in": "body",
@@ -87335,13 +88558,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ "$ref": "#/definitions/v1.DeviceClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ "$ref": "#/definitions/v1.DeviceClass"
}
}
},
@@ -87349,13 +88572,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "DeviceTaintRule",
- "version": "v1alpha3"
+ "kind": "DeviceClass",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -87363,8 +88586,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified DeviceTaintRule",
- "operationId": "readDeviceTaintRule",
+ "description": "read the specified DeviceClass",
+ "operationId": "readDeviceClass",
"produces": [
"application/json",
"application/yaml",
@@ -87375,7 +88598,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ "$ref": "#/definitions/v1.DeviceClass"
}
}
},
@@ -87383,18 +88606,18 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "DeviceTaintRule",
- "version": "v1alpha3"
+ "kind": "DeviceClass",
+ "version": "v1"
}
},
"parameters": [
{
- "description": "name of the DeviceTaintRule",
+ "description": "name of the DeviceClass",
"in": "path",
"name": "name",
"required": true,
@@ -87417,8 +88640,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified DeviceTaintRule",
- "operationId": "patchDeviceTaintRule",
+ "description": "partially update the specified DeviceClass",
+ "operationId": "patchDeviceClass",
"parameters": [
{
"in": "body",
@@ -87467,13 +88690,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ "$ref": "#/definitions/v1.DeviceClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ "$ref": "#/definitions/v1.DeviceClass"
}
}
},
@@ -87481,13 +88704,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "DeviceTaintRule",
- "version": "v1alpha3"
+ "kind": "DeviceClass",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -87495,15 +88718,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified DeviceTaintRule",
- "operationId": "replaceDeviceTaintRule",
+ "description": "replace the specified DeviceClass",
+ "operationId": "replaceDeviceClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ "$ref": "#/definitions/v1.DeviceClass"
}
},
{
@@ -87538,13 +88761,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ "$ref": "#/definitions/v1.DeviceClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ "$ref": "#/definitions/v1.DeviceClass"
}
}
},
@@ -87552,18 +88775,18 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "DeviceTaintRule",
- "version": "v1alpha3"
+ "kind": "DeviceClass",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims": {
+ "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims": {
"delete": {
"consumes": [
"application/json"
@@ -87688,13 +88911,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -87789,7 +89012,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimList"
+ "$ref": "#/definitions/v1.ResourceClaimList"
}
}
},
@@ -87797,13 +89020,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1"
}
},
"parameters": [
@@ -87835,7 +89058,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
},
{
@@ -87870,19 +89093,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
}
},
@@ -87890,18 +89113,18 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}": {
+ "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}": {
"delete": {
"consumes": [
"application/json"
@@ -87962,13 +89185,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
}
},
@@ -87976,13 +89199,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -88002,7 +89225,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
}
},
@@ -88010,13 +89233,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1"
}
},
"parameters": [
@@ -88102,13 +89325,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
}
},
@@ -88116,13 +89339,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -88138,7 +89361,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
},
{
@@ -88173,13 +89396,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
}
},
@@ -88187,18 +89410,18 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status": {
+ "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}/status": {
"get": {
"consumes": [
"application/json"
@@ -88215,7 +89438,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
}
},
@@ -88223,13 +89446,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1"
}
},
"parameters": [
@@ -88315,13 +89538,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
}
},
@@ -88329,13 +89552,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -88351,7 +89574,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
},
{
@@ -88386,13 +89609,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
}
},
@@ -88400,18 +89623,18 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates": {
+ "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates": {
"delete": {
"consumes": [
"application/json"
@@ -88536,13 +89759,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1alpha3"
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -88637,7 +89860,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplateList"
+ "$ref": "#/definitions/v1.ResourceClaimTemplateList"
}
}
},
@@ -88645,13 +89868,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1alpha3"
+ "version": "v1"
}
},
"parameters": [
@@ -88683,7 +89906,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
},
{
@@ -88718,19 +89941,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
}
},
@@ -88738,18 +89961,18 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1alpha3"
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}": {
+ "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name}": {
"delete": {
"consumes": [
"application/json"
@@ -88810,13 +90033,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
}
},
@@ -88824,13 +90047,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1alpha3"
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -88850,7 +90073,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
}
},
@@ -88858,13 +90081,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1alpha3"
+ "version": "v1"
}
},
"parameters": [
@@ -88950,13 +90173,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
}
},
@@ -88964,13 +90187,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1alpha3"
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -88986,7 +90209,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
},
{
@@ -89021,13 +90244,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
}
},
@@ -89035,18 +90258,18 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1alpha3"
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha3/resourceclaims": {
+ "/apis/resource.k8s.io/v1/resourceclaims": {
"get": {
"consumes": [
"application/json"
@@ -89066,7 +90289,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimList"
+ "$ref": "#/definitions/v1.ResourceClaimList"
}
}
},
@@ -89074,13 +90297,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha3"
+ "version": "v1"
}
},
"parameters": [
@@ -89163,7 +90386,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/resourceclaimtemplates": {
+ "/apis/resource.k8s.io/v1/resourceclaimtemplates": {
"get": {
"consumes": [
"application/json"
@@ -89183,7 +90406,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceClaimTemplateList"
+ "$ref": "#/definitions/v1.ResourceClaimTemplateList"
}
}
},
@@ -89191,13 +90414,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceClaimTemplate",
- "version": "v1alpha3"
+ "version": "v1"
}
},
"parameters": [
@@ -89280,7 +90503,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/resourceslices": {
+ "/apis/resource.k8s.io/v1/resourceslices": {
"delete": {
"consumes": [
"application/json"
@@ -89405,13 +90628,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1alpha3"
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -89506,7 +90729,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSliceList"
+ "$ref": "#/definitions/v1.ResourceSliceList"
}
}
},
@@ -89514,13 +90737,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1alpha3"
+ "version": "v1"
}
},
"parameters": [
@@ -89544,7 +90767,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
},
{
@@ -89579,19 +90802,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
}
},
@@ -89599,18 +90822,18 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1alpha3"
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha3/resourceslices/{name}": {
+ "/apis/resource.k8s.io/v1/resourceslices/{name}": {
"delete": {
"consumes": [
"application/json"
@@ -89671,13 +90894,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
}
},
@@ -89685,13 +90908,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1alpha3"
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -89711,7 +90934,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
}
},
@@ -89719,13 +90942,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1alpha3"
+ "version": "v1"
}
},
"parameters": [
@@ -89803,13 +91026,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
}
},
@@ -89817,13 +91040,13 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1alpha3"
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -89839,7 +91062,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
},
{
@@ -89874,13 +91097,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha3.ResourceSlice"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
}
},
@@ -89888,18 +91111,99 @@
"https"
],
"tags": [
- "resource_v1alpha3"
+ "resource_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
"kind": "ResourceSlice",
- "version": "v1alpha3"
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha3/watch/deviceclasses": {
+ "/apis/resource.k8s.io/v1/watch/deviceclasses": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/resource.k8s.io/v1/watch/deviceclasses/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -89936,6 +91240,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the DeviceClass",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -89980,7 +91292,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/watch/deviceclasses/{name}": {
+ "/apis/resource.k8s.io/v1/watch/namespaces/{namespace}/resourceclaims": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -90018,9 +91330,9 @@
"uniqueItems": true
},
{
- "description": "name of the DeviceClass",
+ "description": "object name and auth scope, such as for teams and projects",
"in": "path",
- "name": "name",
+ "name": "namespace",
"required": true,
"type": "string",
"uniqueItems": true
@@ -90069,7 +91381,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/watch/devicetaintrules": {
+ "/apis/resource.k8s.io/v1/watch/namespaces/{namespace}/resourceclaims/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -90106,6 +91418,22 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the ResourceClaim",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -90150,7 +91478,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/watch/devicetaintrules/{name}": {
+ "/apis/resource.k8s.io/v1/watch/namespaces/{namespace}/resourceclaimtemplates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -90188,9 +91516,9 @@
"uniqueItems": true
},
{
- "description": "name of the DeviceTaintRule",
+ "description": "object name and auth scope, such as for teams and projects",
"in": "path",
- "name": "name",
+ "name": "namespace",
"required": true,
"type": "string",
"uniqueItems": true
@@ -90239,7 +91567,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaims": {
+ "/apis/resource.k8s.io/v1/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -90276,6 +91604,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the ResourceClaimTemplate",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -90328,7 +91664,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaims/{name}": {
+ "/apis/resource.k8s.io/v1/watch/resourceclaims": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -90365,22 +91701,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the ResourceClaim",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -90425,7 +91745,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaimtemplates": {
+ "/apis/resource.k8s.io/v1/watch/resourceclaimtemplates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -90462,14 +91782,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -90514,7 +91826,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": {
+ "/apis/resource.k8s.io/v1/watch/resourceslices": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -90551,22 +91863,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the ResourceClaimTemplate",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -90611,7 +91907,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/watch/resourceclaims": {
+ "/apis/resource.k8s.io/v1/watch/resourceslices/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -90648,6 +91944,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the ResourceSlice",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -90692,88 +91996,658 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/watch/resourceclaimtemplates": {
+ "/apis/resource.k8s.io/v1alpha3/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ]
+ }
+ },
+ "/apis/resource.k8s.io/v1alpha3/devicetaintrules": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of DeviceTaintRule",
+ "operationId": "deleteCollectionDeviceTaintRule",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "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.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "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.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "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.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind DeviceTaintRule",
+ "operationId": "listDeviceTaintRule",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRuleList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
+ }
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
+ "name": "pretty",
+ "type": "string",
"uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a DeviceTaintRule",
+ "operationId": "createDeviceTaintRule",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a DeviceTaintRule",
+ "operationId": "deleteDeviceTaintRule",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "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.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "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.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "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.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ }
},
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
},
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified DeviceTaintRule",
+ "operationId": "readDeviceTaintRule",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ }
},
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
+ }
+ },
+ "parameters": [
{
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
+ "description": "name of the DeviceTaintRule",
+ "in": "path",
+ "name": "name",
+ "required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified DeviceTaintRule",
+ "operationId": "patchDeviceTaintRule",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified DeviceTaintRule",
+ "operationId": "replaceDeviceTaintRule",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ }
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "x-codegen-request-body-name": "body"
+ }
},
- "/apis/resource.k8s.io/v1alpha3/watch/resourceslices": {
+ "/apis/resource.k8s.io/v1alpha3/watch/devicetaintrules": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -90854,7 +92728,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha3/watch/resourceslices/{name}": {
+ "/apis/resource.k8s.io/v1alpha3/watch/devicetaintrules/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -90892,7 +92766,7 @@
"uniqueItems": true
},
{
- "description": "name of the ResourceSlice",
+ "description": "name of the DeviceTaintRule",
"in": "path",
"name": "name",
"required": true,
@@ -97776,22 +99650,281 @@
}
}
},
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1beta2"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "ResourceSlice",
- "version": "v1beta2"
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta2"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
+ "version": "v1beta2"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/resource.k8s.io/v1beta2/watch/deviceclasses": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/resource.k8s.io/v1beta2/watch/deviceclasses/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the DeviceClass",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaims": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/apis/resource.k8s.io/v1beta2/watch/deviceclasses": {
+ "/apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaims/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -97828,6 +99961,22 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the ResourceClaim",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -97872,7 +100021,7 @@
}
]
},
- "/apis/resource.k8s.io/v1beta2/watch/deviceclasses/{name}": {
+ "/apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaimtemplates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -97910,9 +100059,9 @@
"uniqueItems": true
},
{
- "description": "name of the DeviceClass",
+ "description": "object name and auth scope, such as for teams and projects",
"in": "path",
- "name": "name",
+ "name": "namespace",
"required": true,
"type": "string",
"uniqueItems": true
@@ -97961,7 +100110,7 @@
}
]
},
- "/apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaims": {
+ "/apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -97998,6 +100147,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the ResourceClaimTemplate",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -98050,7 +100207,7 @@
}
]
},
- "/apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaims/{name}": {
+ "/apis/resource.k8s.io/v1beta2/watch/resourceclaims": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -98087,22 +100244,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the ResourceClaim",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -98147,7 +100288,7 @@
}
]
},
- "/apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaimtemplates": {
+ "/apis/resource.k8s.io/v1beta2/watch/resourceclaimtemplates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -98184,14 +100325,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -98236,7 +100369,7 @@
}
]
},
- "/apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": {
+ "/apis/resource.k8s.io/v1beta2/watch/resourceslices": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -98273,22 +100406,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the ResourceClaimTemplate",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -98333,7 +100450,7 @@
}
]
},
- "/apis/resource.k8s.io/v1beta2/watch/resourceclaims": {
+ "/apis/resource.k8s.io/v1beta2/watch/resourceslices/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -98370,132 +100487,740 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the ResourceSlice",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/scheduling.k8s.io/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "scheduling"
+ ]
+ }
+ },
+ "/apis/scheduling.k8s.io/v1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "scheduling_v1"
+ ]
+ }
+ },
+ "/apis/scheduling.k8s.io/v1/priorityclasses": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of PriorityClass",
+ "operationId": "deleteCollectionPriorityClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "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.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "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.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "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.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "scheduling_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "scheduling.k8s.io",
+ "kind": "PriorityClass",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind PriorityClass",
+ "operationId": "listPriorityClass",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClassList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "scheduling_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "scheduling.k8s.io",
+ "kind": "PriorityClass",
+ "version": "v1"
+ }
+ },
+ "parameters": [
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a PriorityClass",
+ "operationId": "createPriorityClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "scheduling_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "scheduling.k8s.io",
+ "kind": "PriorityClass",
+ "version": "v1"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/scheduling.k8s.io/v1/priorityclasses/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a PriorityClass",
+ "operationId": "deletePriorityClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "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.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "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.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "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.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "scheduling_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "scheduling.k8s.io",
+ "kind": "PriorityClass",
+ "version": "v1"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified PriorityClass",
+ "operationId": "readPriorityClass",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "scheduling_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "scheduling.k8s.io",
+ "kind": "PriorityClass",
+ "version": "v1"
}
- ]
- },
- "/apis/resource.k8s.io/v1beta2/watch/resourceclaimtemplates": {
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
+ "description": "name of the PriorityClass",
+ "in": "path",
+ "name": "name",
+ "required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified PriorityClass",
+ "operationId": "patchPriorityClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "scheduling_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "scheduling.k8s.io",
+ "kind": "PriorityClass",
+ "version": "v1"
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified PriorityClass",
+ "operationId": "replacePriorityClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ }
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "scheduling_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "scheduling.k8s.io",
+ "kind": "PriorityClass",
+ "version": "v1"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "x-codegen-request-body-name": "body"
+ }
},
- "/apis/resource.k8s.io/v1beta2/watch/resourceslices": {
+ "/apis/scheduling.k8s.io/v1/watch/priorityclasses": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -98576,7 +101301,7 @@
}
]
},
- "/apis/resource.k8s.io/v1beta2/watch/resourceslices/{name}": {
+ "/apis/scheduling.k8s.io/v1/watch/priorityclasses/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -98614,7 +101339,7 @@
"uniqueItems": true
},
{
- "description": "name of the ResourceSlice",
+ "description": "name of the PriorityClass",
"in": "path",
"name": "name",
"required": true,
@@ -98665,7 +101390,7 @@
}
]
},
- "/apis/scheduling.k8s.io/": {
+ "/apis/storage.k8s.io/": {
"get": {
"consumes": [
"application/json",
@@ -98691,11 +101416,11 @@
"https"
],
"tags": [
- "scheduling"
+ "storage"
]
}
},
- "/apis/scheduling.k8s.io/v1/": {
+ "/apis/storage.k8s.io/v1/": {
"get": {
"consumes": [
"application/json",
@@ -98723,17 +101448,17 @@
"https"
],
"tags": [
- "scheduling_v1"
+ "storage_v1"
]
}
},
- "/apis/scheduling.k8s.io/v1/priorityclasses": {
+ "/apis/storage.k8s.io/v1/csidrivers": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of PriorityClass",
- "operationId": "deleteCollectionPriorityClass",
+ "description": "delete collection of CSIDriver",
+ "operationId": "deleteCollectionCSIDriver",
"parameters": [
{
"in": "body",
@@ -98852,12 +101577,12 @@
"https"
],
"tags": [
- "scheduling_v1"
+ "storage_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "scheduling.k8s.io",
- "kind": "PriorityClass",
+ "group": "storage.k8s.io",
+ "kind": "CSIDriver",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -98866,8 +101591,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind PriorityClass",
- "operationId": "listPriorityClass",
+ "description": "list or watch objects of kind CSIDriver",
+ "operationId": "listCSIDriver",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -98953,7 +101678,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityClassList"
+ "$ref": "#/definitions/v1.CSIDriverList"
}
}
},
@@ -98961,12 +101686,12 @@
"https"
],
"tags": [
- "scheduling_v1"
+ "storage_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "scheduling.k8s.io",
- "kind": "PriorityClass",
+ "group": "storage.k8s.io",
+ "kind": "CSIDriver",
"version": "v1"
}
},
@@ -98983,15 +101708,15 @@
"consumes": [
"application/json"
],
- "description": "create a PriorityClass",
- "operationId": "createPriorityClass",
+ "description": "create a CSIDriver",
+ "operationId": "createCSIDriver",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
},
{
@@ -99026,19 +101751,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
}
},
@@ -99046,24 +101771,24 @@
"https"
],
"tags": [
- "scheduling_v1"
+ "storage_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "scheduling.k8s.io",
- "kind": "PriorityClass",
+ "group": "storage.k8s.io",
+ "kind": "CSIDriver",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/scheduling.k8s.io/v1/priorityclasses/{name}": {
+ "/apis/storage.k8s.io/v1/csidrivers/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a PriorityClass",
- "operationId": "deletePriorityClass",
+ "description": "delete a CSIDriver",
+ "operationId": "deleteCSIDriver",
"parameters": [
{
"in": "body",
@@ -99118,13 +101843,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.CSIDriver"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.CSIDriver"
}
}
},
@@ -99132,12 +101857,12 @@
"https"
],
"tags": [
- "scheduling_v1"
+ "storage_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "scheduling.k8s.io",
- "kind": "PriorityClass",
+ "group": "storage.k8s.io",
+ "kind": "CSIDriver",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -99146,8 +101871,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified PriorityClass",
- "operationId": "readPriorityClass",
+ "description": "read the specified CSIDriver",
+ "operationId": "readCSIDriver",
"produces": [
"application/json",
"application/yaml",
@@ -99158,7 +101883,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
}
},
@@ -99166,18 +101891,18 @@
"https"
],
"tags": [
- "scheduling_v1"
+ "storage_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "scheduling.k8s.io",
- "kind": "PriorityClass",
+ "group": "storage.k8s.io",
+ "kind": "CSIDriver",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the PriorityClass",
+ "description": "name of the CSIDriver",
"in": "path",
"name": "name",
"required": true,
@@ -99200,8 +101925,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified PriorityClass",
- "operationId": "patchPriorityClass",
+ "description": "partially update the specified CSIDriver",
+ "operationId": "patchCSIDriver",
"parameters": [
{
"in": "body",
@@ -99250,13 +101975,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
}
},
@@ -99264,12 +101989,12 @@
"https"
],
"tags": [
- "scheduling_v1"
+ "storage_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "scheduling.k8s.io",
- "kind": "PriorityClass",
+ "group": "storage.k8s.io",
+ "kind": "CSIDriver",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -99278,15 +102003,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified PriorityClass",
- "operationId": "replacePriorityClass",
+ "description": "replace the specified CSIDriver",
+ "operationId": "replaceCSIDriver",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
},
{
@@ -99321,13 +102046,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
}
},
@@ -99335,256 +102060,24 @@
"https"
],
"tags": [
- "scheduling_v1"
+ "storage_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "scheduling.k8s.io",
- "kind": "PriorityClass",
+ "group": "storage.k8s.io",
+ "kind": "CSIDriver",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/scheduling.k8s.io/v1/watch/priorityclasses": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/scheduling.k8s.io/v1/watch/priorityclasses/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the PriorityClass",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/storage.k8s.io/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "storage"
- ]
- }
- },
- "/apis/storage.k8s.io/v1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "storage_v1"
- ]
- }
- },
- "/apis/storage.k8s.io/v1/csidrivers": {
+ "/apis/storage.k8s.io/v1/csinodes": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of CSIDriver",
- "operationId": "deleteCollectionCSIDriver",
+ "description": "delete collection of CSINode",
+ "operationId": "deleteCollectionCSINode",
"parameters": [
{
"in": "body",
@@ -99708,7 +102201,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIDriver",
+ "kind": "CSINode",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -99717,8 +102210,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind CSIDriver",
- "operationId": "listCSIDriver",
+ "description": "list or watch objects of kind CSINode",
+ "operationId": "listCSINode",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -99804,7 +102297,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIDriverList"
+ "$ref": "#/definitions/v1.CSINodeList"
}
}
},
@@ -99817,7 +102310,7 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIDriver",
+ "kind": "CSINode",
"version": "v1"
}
},
@@ -99834,15 +102327,15 @@
"consumes": [
"application/json"
],
- "description": "create a CSIDriver",
- "operationId": "createCSIDriver",
+ "description": "create a CSINode",
+ "operationId": "createCSINode",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
},
{
@@ -99877,19 +102370,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
}
},
@@ -99902,19 +102395,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIDriver",
+ "kind": "CSINode",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1/csidrivers/{name}": {
+ "/apis/storage.k8s.io/v1/csinodes/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a CSIDriver",
- "operationId": "deleteCSIDriver",
+ "description": "delete a CSINode",
+ "operationId": "deleteCSINode",
"parameters": [
{
"in": "body",
@@ -99969,13 +102462,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
}
},
@@ -99988,7 +102481,7 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIDriver",
+ "kind": "CSINode",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -99997,8 +102490,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified CSIDriver",
- "operationId": "readCSIDriver",
+ "description": "read the specified CSINode",
+ "operationId": "readCSINode",
"produces": [
"application/json",
"application/yaml",
@@ -100009,7 +102502,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
}
},
@@ -100022,13 +102515,13 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIDriver",
+ "kind": "CSINode",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the CSIDriver",
+ "description": "name of the CSINode",
"in": "path",
"name": "name",
"required": true,
@@ -100051,8 +102544,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified CSIDriver",
- "operationId": "patchCSIDriver",
+ "description": "partially update the specified CSINode",
+ "operationId": "patchCSINode",
"parameters": [
{
"in": "body",
@@ -100101,13 +102594,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
}
},
@@ -100120,7 +102613,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIDriver",
+ "kind": "CSINode",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -100129,15 +102622,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified CSIDriver",
- "operationId": "replaceCSIDriver",
+ "description": "replace the specified CSINode",
+ "operationId": "replaceCSINode",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
},
{
@@ -100172,13 +102665,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
}
},
@@ -100191,19 +102684,136 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIDriver",
+ "kind": "CSINode",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1/csinodes": {
+ "/apis/storage.k8s.io/v1/csistoragecapacities": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind CSIStorageCapacity",
+ "operationId": "listCSIStorageCapacityForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.CSIStorageCapacityList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "storage_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "storage.k8s.io",
+ "kind": "CSIStorageCapacity",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of CSINode",
- "operationId": "deleteCollectionCSINode",
+ "description": "delete collection of CSIStorageCapacity",
+ "operationId": "deleteCollectionNamespacedCSIStorageCapacity",
"parameters": [
{
"in": "body",
@@ -100327,7 +102937,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSINode",
+ "kind": "CSIStorageCapacity",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -100336,8 +102946,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind CSINode",
- "operationId": "listCSINode",
+ "description": "list or watch objects of kind CSIStorageCapacity",
+ "operationId": "listNamespacedCSIStorageCapacity",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -100423,7 +103033,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSINodeList"
+ "$ref": "#/definitions/v1.CSIStorageCapacityList"
}
}
},
@@ -100436,11 +103046,19 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSINode",
+ "kind": "CSIStorageCapacity",
"version": "v1"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -100453,15 +103071,15 @@
"consumes": [
"application/json"
],
- "description": "create a CSINode",
- "operationId": "createCSINode",
+ "description": "create a CSIStorageCapacity",
+ "operationId": "createNamespacedCSIStorageCapacity",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
},
{
@@ -100496,19 +103114,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
}
},
@@ -100521,19 +103139,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSINode",
+ "kind": "CSIStorageCapacity",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1/csinodes/{name}": {
+ "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a CSINode",
- "operationId": "deleteCSINode",
+ "description": "delete a CSIStorageCapacity",
+ "operationId": "deleteNamespacedCSIStorageCapacity",
"parameters": [
{
"in": "body",
@@ -100588,13 +103206,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.Status"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -100607,7 +103225,7 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSINode",
+ "kind": "CSIStorageCapacity",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -100616,8 +103234,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified CSINode",
- "operationId": "readCSINode",
+ "description": "read the specified CSIStorageCapacity",
+ "operationId": "readNamespacedCSIStorageCapacity",
"produces": [
"application/json",
"application/yaml",
@@ -100628,7 +103246,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
}
},
@@ -100641,19 +103259,27 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSINode",
+ "kind": "CSIStorageCapacity",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the CSINode",
+ "description": "name of the CSIStorageCapacity",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -100670,8 +103296,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified CSINode",
- "operationId": "patchCSINode",
+ "description": "partially update the specified CSIStorageCapacity",
+ "operationId": "patchNamespacedCSIStorageCapacity",
"parameters": [
{
"in": "body",
@@ -100720,13 +103346,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
}
},
@@ -100739,7 +103365,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSINode",
+ "kind": "CSIStorageCapacity",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -100748,15 +103374,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified CSINode",
- "operationId": "replaceCSINode",
+ "description": "replace the specified CSIStorageCapacity",
+ "operationId": "replaceNamespacedCSIStorageCapacity",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
},
{
@@ -100791,13 +103417,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
}
},
@@ -100810,136 +103436,19 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSINode",
+ "kind": "CSIStorageCapacity",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1/csistoragecapacities": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind CSIStorageCapacity",
- "operationId": "listCSIStorageCapacityForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch",
- "application/cbor-seq"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacityList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "storage_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "storage.k8s.io",
- "kind": "CSIStorageCapacity",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities": {
+ "/apis/storage.k8s.io/v1/storageclasses": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of CSIStorageCapacity",
- "operationId": "deleteCollectionNamespacedCSIStorageCapacity",
+ "description": "delete collection of StorageClass",
+ "operationId": "deleteCollectionStorageClass",
"parameters": [
{
"in": "body",
@@ -101063,7 +103572,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIStorageCapacity",
+ "kind": "StorageClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -101072,8 +103581,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind CSIStorageCapacity",
- "operationId": "listNamespacedCSIStorageCapacity",
+ "description": "list or watch objects of kind StorageClass",
+ "operationId": "listStorageClass",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -101159,7 +103668,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacityList"
+ "$ref": "#/definitions/v1.StorageClassList"
}
}
},
@@ -101172,19 +103681,11 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIStorageCapacity",
+ "kind": "StorageClass",
"version": "v1"
}
},
"parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -101197,15 +103698,15 @@
"consumes": [
"application/json"
],
- "description": "create a CSIStorageCapacity",
- "operationId": "createNamespacedCSIStorageCapacity",
+ "description": "create a StorageClass",
+ "operationId": "createStorageClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
},
{
@@ -101240,19 +103741,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
}
},
@@ -101265,19 +103766,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIStorageCapacity",
+ "kind": "StorageClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name}": {
+ "/apis/storage.k8s.io/v1/storageclasses/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a CSIStorageCapacity",
- "operationId": "deleteNamespacedCSIStorageCapacity",
+ "description": "delete a StorageClass",
+ "operationId": "deleteStorageClass",
"parameters": [
{
"in": "body",
@@ -101332,13 +103833,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.StorageClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.StorageClass"
}
}
},
@@ -101351,7 +103852,7 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIStorageCapacity",
+ "kind": "StorageClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -101360,8 +103861,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified CSIStorageCapacity",
- "operationId": "readNamespacedCSIStorageCapacity",
+ "description": "read the specified StorageClass",
+ "operationId": "readStorageClass",
"produces": [
"application/json",
"application/yaml",
@@ -101372,7 +103873,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
}
},
@@ -101385,27 +103886,19 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIStorageCapacity",
+ "kind": "StorageClass",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the CSIStorageCapacity",
+ "description": "name of the StorageClass",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -101422,8 +103915,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified CSIStorageCapacity",
- "operationId": "patchNamespacedCSIStorageCapacity",
+ "description": "partially update the specified StorageClass",
+ "operationId": "patchStorageClass",
"parameters": [
{
"in": "body",
@@ -101472,13 +103965,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
}
},
@@ -101491,7 +103984,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIStorageCapacity",
+ "kind": "StorageClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -101500,15 +103993,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified CSIStorageCapacity",
- "operationId": "replaceNamespacedCSIStorageCapacity",
+ "description": "replace the specified StorageClass",
+ "operationId": "replaceStorageClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
},
{
@@ -101543,13 +104036,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
}
},
@@ -101562,19 +104055,19 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIStorageCapacity",
+ "kind": "StorageClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1/storageclasses": {
+ "/apis/storage.k8s.io/v1/volumeattachments": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of StorageClass",
- "operationId": "deleteCollectionStorageClass",
+ "description": "delete collection of VolumeAttachment",
+ "operationId": "deleteCollectionVolumeAttachment",
"parameters": [
{
"in": "body",
@@ -101698,7 +104191,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "StorageClass",
+ "kind": "VolumeAttachment",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -101707,8 +104200,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind StorageClass",
- "operationId": "listStorageClass",
+ "description": "list or watch objects of kind VolumeAttachment",
+ "operationId": "listVolumeAttachment",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -101794,7 +104287,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StorageClassList"
+ "$ref": "#/definitions/v1.VolumeAttachmentList"
}
}
},
@@ -101807,7 +104300,7 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "StorageClass",
+ "kind": "VolumeAttachment",
"version": "v1"
}
},
@@ -101824,15 +104317,15 @@
"consumes": [
"application/json"
],
- "description": "create a StorageClass",
- "operationId": "createStorageClass",
+ "description": "create a VolumeAttachment",
+ "operationId": "createVolumeAttachment",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
},
{
@@ -101867,19 +104360,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
}
},
@@ -101892,19 +104385,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "StorageClass",
+ "kind": "VolumeAttachment",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1/storageclasses/{name}": {
+ "/apis/storage.k8s.io/v1/volumeattachments/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a StorageClass",
- "operationId": "deleteStorageClass",
+ "description": "delete a VolumeAttachment",
+ "operationId": "deleteVolumeAttachment",
"parameters": [
{
"in": "body",
@@ -101959,13 +104452,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
}
},
@@ -101978,7 +104471,7 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "StorageClass",
+ "kind": "VolumeAttachment",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -101987,8 +104480,8 @@
"consumes": [
"application/json"
],
- "description": "read the specified StorageClass",
- "operationId": "readStorageClass",
+ "description": "read the specified VolumeAttachment",
+ "operationId": "readVolumeAttachment",
"produces": [
"application/json",
"application/yaml",
@@ -101999,7 +104492,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
}
},
@@ -102012,13 +104505,13 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "StorageClass",
+ "kind": "VolumeAttachment",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the StorageClass",
+ "description": "name of the VolumeAttachment",
"in": "path",
"name": "name",
"required": true,
@@ -102041,8 +104534,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update the specified StorageClass",
- "operationId": "patchStorageClass",
+ "description": "partially update the specified VolumeAttachment",
+ "operationId": "patchVolumeAttachment",
"parameters": [
{
"in": "body",
@@ -102091,13 +104584,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
}
},
@@ -102110,7 +104603,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "StorageClass",
+ "kind": "VolumeAttachment",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -102119,15 +104612,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified StorageClass",
- "operationId": "replaceStorageClass",
+ "description": "replace the specified VolumeAttachment",
+ "operationId": "replaceVolumeAttachment",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
},
{
@@ -102162,13 +104655,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
}
},
@@ -102181,19 +104674,224 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "StorageClass",
+ "kind": "VolumeAttachment",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1/volumeattachments": {
+ "/apis/storage.k8s.io/v1/volumeattachments/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified VolumeAttachment",
+ "operationId": "readVolumeAttachmentStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.VolumeAttachment"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "storage_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttachment",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the VolumeAttachment",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified VolumeAttachment",
+ "operationId": "patchVolumeAttachmentStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.VolumeAttachment"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.VolumeAttachment"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "storage_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttachment",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified VolumeAttachment",
+ "operationId": "replaceVolumeAttachmentStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.VolumeAttachment"
+ }
+ },
+ {
+ "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",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.VolumeAttachment"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.VolumeAttachment"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "storage_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttachment",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/storage.k8s.io/v1/volumeattributesclasses": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of VolumeAttachment",
- "operationId": "deleteCollectionVolumeAttachment",
+ "description": "delete collection of VolumeAttributesClass",
+ "operationId": "deleteCollectionVolumeAttributesClass",
"parameters": [
{
"in": "body",
@@ -102317,7 +105015,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "VolumeAttachment",
+ "kind": "VolumeAttributesClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -102326,8 +105024,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind VolumeAttachment",
- "operationId": "listVolumeAttachment",
+ "description": "list or watch objects of kind VolumeAttributesClass",
+ "operationId": "listVolumeAttributesClass",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -102413,7 +105111,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachmentList"
+ "$ref": "#/definitions/v1.VolumeAttributesClassList"
}
}
},
@@ -102426,7 +105124,7 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "VolumeAttachment",
+ "kind": "VolumeAttributesClass",
"version": "v1"
}
},
@@ -102443,15 +105141,15 @@
"consumes": [
"application/json"
],
- "description": "create a VolumeAttachment",
- "operationId": "createVolumeAttachment",
+ "description": "create a VolumeAttributesClass",
+ "operationId": "createVolumeAttributesClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
},
{
@@ -102486,19 +105184,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
}
},
@@ -102511,19 +105209,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "VolumeAttachment",
+ "kind": "VolumeAttributesClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1/volumeattachments/{name}": {
+ "/apis/storage.k8s.io/v1/volumeattributesclasses/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a VolumeAttachment",
- "operationId": "deleteVolumeAttachment",
+ "description": "delete a VolumeAttributesClass",
+ "operationId": "deleteVolumeAttributesClass",
"parameters": [
{
"in": "body",
@@ -102578,13 +105276,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
}
},
@@ -102597,222 +105295,17 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "VolumeAttachment",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified VolumeAttachment",
- "operationId": "readVolumeAttachment",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "storage_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "storage.k8s.io",
- "kind": "VolumeAttachment",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "name of the VolumeAttachment",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml",
- "application/apply-patch+cbor"
- ],
- "description": "partially update the specified VolumeAttachment",
- "operationId": "patchVolumeAttachment",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "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",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "storage_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "storage.k8s.io",
- "kind": "VolumeAttachment",
+ "kind": "VolumeAttributesClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
},
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified VolumeAttachment",
- "operationId": "replaceVolumeAttachment",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
- }
- },
- {
- "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",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/cbor"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "storage_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "storage.k8s.io",
- "kind": "VolumeAttachment",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/storage.k8s.io/v1/volumeattachments/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified VolumeAttachment",
- "operationId": "readVolumeAttachmentStatus",
+ "description": "read the specified VolumeAttributesClass",
+ "operationId": "readVolumeAttributesClass",
"produces": [
"application/json",
"application/yaml",
@@ -102823,7 +105316,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
}
},
@@ -102836,13 +105329,13 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "VolumeAttachment",
+ "kind": "VolumeAttributesClass",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the VolumeAttachment",
+ "description": "name of the VolumeAttributesClass",
"in": "path",
"name": "name",
"required": true,
@@ -102865,8 +105358,8 @@
"application/apply-patch+yaml",
"application/apply-patch+cbor"
],
- "description": "partially update status of the specified VolumeAttachment",
- "operationId": "patchVolumeAttachmentStatus",
+ "description": "partially update the specified VolumeAttributesClass",
+ "operationId": "patchVolumeAttributesClass",
"parameters": [
{
"in": "body",
@@ -102915,13 +105408,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
}
},
@@ -102934,7 +105427,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "VolumeAttachment",
+ "kind": "VolumeAttributesClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -102943,15 +105436,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified VolumeAttachment",
- "operationId": "replaceVolumeAttachmentStatus",
+ "description": "replace the specified VolumeAttributesClass",
+ "operationId": "replaceVolumeAttributesClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
},
{
@@ -102986,13 +105479,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
}
},
@@ -103005,7 +105498,7 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "VolumeAttachment",
+ "kind": "VolumeAttributesClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -103958,6 +106451,176 @@
}
]
},
+ "/apis/storage.k8s.io/v1/watch/volumeattributesclasses": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/storage.k8s.io/v1/watch/volumeattributesclasses/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the VolumeAttributesClass",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
"/apis/storage.k8s.io/v1alpha1/": {
"get": {
"consumes": [
@@ -106766,6 +109429,128 @@
}
}
},
+ "/apis/{group}/{version}/{resource_plural}": {
+ "parameters": [
+ {
+ "uniqueItems": true,
+ "type": "string",
+ "description": "If 'true', then the output is pretty printed.",
+ "name": "pretty",
+ "in": "query"
+ },
+ {
+ "name": "group",
+ "in": "path",
+ "required": true,
+ "description": "The custom resource's group name",
+ "type": "string"
+ },
+ {
+ "name": "version",
+ "in": "path",
+ "required": true,
+ "description": "The custom resource's version",
+ "type": "string"
+ },
+ {
+ "name": "resource_plural",
+ "in": "path",
+ "required": true,
+ "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.",
+ "type": "string"
+ }
+ ],
+ "get": {
+ "operationId": "listCustomObjectForAllNamespaces",
+ "description": "list or watch namespace scoped custom objects",
+ "tags": [
+ "custom_objects"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json",
+ "application/json;stream=watch"
+ ],
+ "schemes": [
+ "https"
+ ],
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "uniqueItems": true,
+ "type": "string",
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "name": "continue",
+ "in": "query"
+ },
+ {
+ "uniqueItems": true,
+ "type": "string",
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "name": "fieldSelector",
+ "in": "query"
+ },
+ {
+ "uniqueItems": true,
+ "type": "string",
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "name": "labelSelector",
+ "in": "query"
+ },
+ {
+ "uniqueItems": true,
+ "type": "integer",
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "name": "limit",
+ "in": "query"
+ },
+ {
+ "uniqueItems": true,
+ "type": "string",
+ "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
+ "name": "resourceVersion",
+ "in": "query"
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "uniqueItems": true,
+ "type": "integer",
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "name": "timeoutSeconds",
+ "in": "query"
+ },
+ {
+ "name": "watch",
+ "uniqueItems": true,
+ "type": "boolean",
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications.",
+ "in": "query"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
"/apis/{group}/{version}/{plural}": {
"parameters": [
{
diff --git a/tests/E2E.Aot.Tests/MinikubeTests.cs b/tests/E2E.Aot.Tests/MinikubeTests.cs
index 505d9a4b2..b67c6af3c 100644
--- a/tests/E2E.Aot.Tests/MinikubeTests.cs
+++ b/tests/E2E.Aot.Tests/MinikubeTests.cs
@@ -370,7 +370,7 @@ async Task AssertMd5sumAsync(string file, byte[] orig)
}
}
-
+
[MinikubeFact]
public async Task VersionTestAsync()
{
diff --git a/tests/KubernetesClient.Tests/AuthTests.cs b/tests/KubernetesClient.Tests/AuthTests.cs
index 227ccb66c..c40f2668b 100644
--- a/tests/KubernetesClient.Tests/AuthTests.cs
+++ b/tests/KubernetesClient.Tests/AuthTests.cs
@@ -188,10 +188,18 @@ public void Cert()
}
else
{
+#if NET9_0_OR_GREATER
+ serverCertificate = X509CertificateLoader.LoadPkcs12(Convert.FromBase64String(serverCertificateData), "");
+#else
serverCertificate = new X509Certificate2(Convert.FromBase64String(serverCertificateData), "");
+#endif
}
+#if NET9_0_OR_GREATER
+ var clientCertificate = X509CertificateLoader.LoadCertificate(Convert.FromBase64String(clientCertificateData));
+#else
var clientCertificate = new X509Certificate2(Convert.FromBase64String(clientCertificateData), "");
+#endif
var clientCertificateValidationCalled = false;
@@ -294,10 +302,18 @@ public void ExternalCertificate()
}
else
{
+#if NET9_0_OR_GREATER
+ serverCertificate = X509CertificateLoader.LoadPkcs12(serverCertificateData, "");
+#else
serverCertificate = new X509Certificate2(serverCertificateData, "");
+#endif
}
+#if NET9_0_OR_GREATER
+ var clientCertificate = X509CertificateLoader.LoadCertificate(clientCertificateData);
+#else
var clientCertificate = new X509Certificate2(clientCertificateData, "");
+#endif
var clientCertificateValidationCalled = false;
diff --git a/tests/KubernetesClient.Tests/CertUtilsTests.cs b/tests/KubernetesClient.Tests/CertUtilsTests.cs
index b7e0e314b..674715462 100644
--- a/tests/KubernetesClient.Tests/CertUtilsTests.cs
+++ b/tests/KubernetesClient.Tests/CertUtilsTests.cs
@@ -85,8 +85,13 @@ public void LoadPemWithMultiCert()
{
var certCollection = CertUtils.LoadPemFileCert("assets/ca-bundle.crt");
+#if NET9_0_OR_GREATER
+ using var intermediateCert = X509CertificateLoader.LoadCertificateFromFile("assets/ca-bundle-intermediate.crt");
+ using var rootCert = X509CertificateLoader.LoadCertificateFromFile("assets/ca-bundle-root.crt");
+#else
using var intermediateCert = new X509Certificate2("assets/ca-bundle-intermediate.crt");
using var rootCert = new X509Certificate2("assets/ca-bundle-root.crt");
+#endif
Assert.Equal(2, certCollection.Count);
diff --git a/tests/KubernetesClient.Tests/CertificateValidationTests.cs b/tests/KubernetesClient.Tests/CertificateValidationTests.cs
index 82058bbb7..b883380d5 100644
--- a/tests/KubernetesClient.Tests/CertificateValidationTests.cs
+++ b/tests/KubernetesClient.Tests/CertificateValidationTests.cs
@@ -68,7 +68,11 @@ private static X509Certificate2 CreateServerCert(X509Certificate2 issuerCA, stri
public void ValidCert()
{
var caCert = CertUtils.LoadPemFileCert("assets/ca.crt");
+#if NET9_0_OR_GREATER
+ var testCert = X509CertificateLoader.LoadCertificateFromFile("assets/ca.crt");
+#else
var testCert = new X509Certificate2("assets/ca.crt");
+#endif
var chain = new X509Chain();
var errors = SslPolicyErrors.RemoteCertificateChainErrors;
@@ -81,7 +85,11 @@ public void ValidCert()
public void InvalidCert()
{
var caCert = CertUtils.LoadPemFileCert("assets/ca.crt");
+#if NET9_0_OR_GREATER
+ var testCert = X509CertificateLoader.LoadCertificateFromFile("assets/ca2.crt");
+#else
var testCert = new X509Certificate2("assets/ca2.crt");
+#endif
var chain = new X509Chain();
var errors = SslPolicyErrors.RemoteCertificateChainErrors;
@@ -110,7 +118,11 @@ public void ValidBundleCert()
public void InvalidBundleCert()
{
var caCert = CertUtils.LoadPemFileCert("assets/ca-bundle.crt");
+#if NET9_0_OR_GREATER
+ var testCert = X509CertificateLoader.LoadCertificateFromFile("assets/ca2.crt");
+#else
var testCert = new X509Certificate2("assets/ca2.crt");
+#endif
var chain = new X509Chain();
var errors = SslPolicyErrors.RemoteCertificateChainErrors;
diff --git a/version.json b/version.json
index 5c87a91a2..5b93fcb35 100644
--- a/version.json
+++ b/version.json
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
- "version": "17.0",
+ "version": "18.0",
"publicReleaseRefSpec": [
"^refs/heads/master$",
"^refs/tags/v\\d+\\.\\d+\\.\\d+"